File tree Expand file tree Collapse file tree 2 files changed +25
-26
lines changed
Expand file tree Collapse file tree 2 files changed +25
-26
lines changed Original file line number Diff line number Diff line change 1+ jobs :
2+ integration-test-qa :
3+ permissions :
4+ id-token : write
5+ contents : read
6+ runs-on : ubuntu-latest
7+ needs : tests
8+ if : github.ref == 'refs/heads/qa2'
9+ steps :
10+ - name : Configure AWS credentials
11+ uses : aws-actions/configure-aws-credentials@v2
12+ with :
13+ role-to-assume : arn:aws:iam::946183545209:role/GithubActionsDeployerRole
14+ aws-region : us-east-1
15+ - uses : actions/checkout@v4
16+ - name : Set Node version
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version-file : ' .nvmrc'
20+ - name : Install dependencies
21+ run : npm ci
22+ - name : Start service
23+ run : ENV=qa npm start &
24+ - name : Run tests
25+ run : node test/integration/delivery-locations-by-barcode.test.js
Original file line number Diff line number Diff line change 1515 run : npm ci
1616 - name : Unit Tests
1717 run : npm test
18- integration-test-qa :
19- permissions :
20- id-token : write
21- contents : read
22- runs-on : ubuntu-latest
23- needs : tests
24- if : github.ref == 'refs/heads/qa2'
25- steps :
26- - name : Configure AWS credentials
27- uses : aws-actions/configure-aws-credentials@v2
28- with :
29- role-to-assume : arn:aws:iam::946183545209:role/GithubActionsDeployerRole
30- aws-region : us-east-1
31- - uses : actions/checkout@v4
32- - name : Set Node version
33- uses : actions/setup-node@v4
34- with :
35- node-version-file : ' .nvmrc'
36- - name : Install dependencies
37- run : npm ci
38- - name : Start service
39- run : ENV=qa npm start &
40- - name : Run tests
41- run : node test/integration/delivery-locations-by-barcode.test.js
4218 deploy-qa :
4319 permissions :
4420 id-token : write
5026 steps :
5127 - name : Checkout repo
5228 uses : actions/checkout@v3
53-
5429 - name : Configure AWS credentials
5530 uses : aws-actions/configure-aws-credentials@v2
5631 with :
8661 runs-on : ubuntu-latest
8762 needs :
8863 - tests
89- - integration-test-qa
9064 if : github.ref == 'refs/heads/qa2'
9165 steps :
9266 - name : Checkout repo
You can’t perform that action at this time.
0 commit comments