File tree Expand file tree Collapse file tree 3 files changed +35
-31
lines changed Expand file tree Collapse file tree 3 files changed +35
-31
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ env :
7+ # The AWS JS SDK only respects AWS_REGION, not AWS_DEFAULT_REGION
8+ # See https://github.com/aws/aws-sdk-js/issues/2929
9+ AWS_DEFAULT_REGION : us-east-1
10+ AWS_REGION : us-east-1
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ - name : APT Install
15+ run : |
16+ sudo apt-get install \
17+ jq \
18+ python3-pip \
19+ python3-setuptools
20+ - name : PIP Install
21+ run : |
22+ pip3 install awscli --upgrade --user
23+ - name : NVM Install
24+ run : |
25+ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
26+ . $HOME/.nvm/nvm.sh
27+ nvm install
28+ - name : NPM Install
29+ run : npm ci
30+ - name : Build and Test
31+ run : npm run build-and-test
32+ - name : Release
33+ if : github.ref == 'refs/heads/main'
34+ run : npm run release
Original file line number Diff line number Diff line change 1+ v14.16.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments