Skip to content

Commit cdc0773

Browse files
author
Fabiana Severin
committed
Changing the codebuild
1 parent 86b1fe4 commit cdc0773

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
build:
3939
runs-on:
40-
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
40+
- codebuild-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
4141
# Removed dependency on lint job
4242
outputs:
4343
version: ${{ steps.version.outputs.version }}
@@ -98,7 +98,7 @@ jobs:
9898

9999
test:
100100
runs-on:
101-
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
101+
- codebuild-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
102102
needs: [build]
103103
strategy:
104104
matrix:
@@ -114,7 +114,7 @@ jobs:
114114
publish:
115115
if: startsWith(github.ref, 'refs/tags/')
116116
runs-on:
117-
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
117+
- codebuild-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
118118
needs: [build, test]
119119
permissions:
120120
contents: write
@@ -196,7 +196,7 @@ jobs:
196196
test-publish:
197197
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.test_mode != 'none') || github.ref == 'refs/heads/fabisev/artifact-publishing'
198198
runs-on:
199-
- codebuild-fabisev-nodejs-test-${{ github.run_id }}-${{ github.run_attempt }}
199+
- codebuild-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
200200
needs: [build, test]
201201
steps:
202202
- uses: actions/checkout@v4
@@ -218,7 +218,7 @@ jobs:
218218

219219
- name: Get NPM token from AWS Secrets Manager
220220
run: |
221-
NPM_TOKEN=$(aws secretsmanager get-secret-value --secret-id NPM-TOKEN --region eu-north-1 --query SecretString --output text | jq -r .token)
221+
NPM_TOKEN=$(aws secretsmanager get-secret-value --secret-id aws-lambda-runtimes/github/nodejs/npm-token --query SecretString --output text | jq -r .token)
222222
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
223223
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
224224
echo "Authenticated as: $(npm whoami)"

0 commit comments

Comments
 (0)