We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43dcb16 commit 4bf8addCopy full SHA for 4bf8add
codebuild/nodejs20.yml
@@ -5,8 +5,15 @@ env:
5
NODE_OPTIONS: "--max-old-space-size=4096"
6
7
phases:
8
- install:
+ install:
9
commands:
10
+ - TMP_ROLE=$(aws sts assume-role --role-arn "arn:aws:iam::370957321024:role/GitHub-CI-MPL-Dafny-Role-us-west-2" --role-session-name "CB-TestVectorResources")
11
+ - export TMP_ROLE
12
+ - export AWS_ACCESS_KEY_ID=$(echo "${TMP_ROLE}" | jq -r '.Credentials.AccessKeyId')
13
+ - export AWS_SECRET_ACCESS_KEY=$(echo "${TMP_ROLE}" | jq -r '.Credentials.SecretAccessKey')
14
+ - export AWS_SESSION_TOKEN=$(echo "${TMP_ROLE}" | jq -r '.Credentials.SessionToken')
15
+ - aws sts get-caller-identity
16
+
17
- n 20
18
- node --version ; npm --version
19
- npm ci --unsafe-perm
0 commit comments