37
37
38
38
build :
39
39
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 }}
41
41
# Removed dependency on lint job
42
42
outputs :
43
43
version : ${{ steps.version.outputs.version }}
98
98
99
99
test :
100
100
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 }}
102
102
needs : [build]
103
103
strategy :
104
104
matrix :
@@ -114,7 +114,7 @@ jobs:
114
114
publish :
115
115
if : startsWith(github.ref, 'refs/tags/')
116
116
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 }}
118
118
needs : [build, test]
119
119
permissions :
120
120
contents : write
@@ -196,7 +196,7 @@ jobs:
196
196
test-publish :
197
197
if : (github.event_name == 'workflow_dispatch' && github.event.inputs.test_mode != 'none') || github.ref == 'refs/heads/fabisev/artifact-publishing'
198
198
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 }}
200
200
needs : [build, test]
201
201
steps :
202
202
- uses : actions/checkout@v4
@@ -218,7 +218,7 @@ jobs:
218
218
219
219
- name : Get NPM token from AWS Secrets Manager
220
220
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)
222
222
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
223
223
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
224
224
echo "Authenticated as: $(npm whoami)"
0 commit comments