Skip to content

Commit 15fb922

Browse files
Update action.yml
1 parent 5663a54 commit 15fb922

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ runs:
1818
shell: bash
1919
# language=bash
2020
run: |
21-
npm ci && npm test
21+
nvm install lts/*
22+
node --version
23+
npm --version
24+
nvm --version
25+
npm ci
26+
yarn test
2227
mkdir -p ~/.aws
2328
cat << EOF > ~/.aws/credentials
2429
[devProfile]
@@ -38,5 +43,5 @@ runs:
3843
aws_access_key_id=${{inputs.AWS_ACCESS_KEY_ID_CHINA}}
3944
aws_secret_access_key=${{inputs.AWS_SECRET_ACCESS_KEY_CHINA}}
4045
EOF
41-
yarn deploy:${{inputs.environment}}
46+
yarn sls deploy -s ${{inputs.environment}} --aws-s3-accelerate
4247
rm ~/.aws/credentials

0 commit comments

Comments
 (0)