File tree Expand file tree Collapse file tree 3 files changed +32
-28
lines changed Expand file tree Collapse file tree 3 files changed +32
-28
lines changed Original file line number Diff line number Diff line change 11name : ' end to end test'
22on :
3- pull_request :
43 push :
54
65env :
Original file line number Diff line number Diff line change 1- name : ' Build, test, deploy '
1+ name : ' Release '
22on :
33 push :
44 branches : [main]
@@ -9,8 +9,8 @@ permissions:
99 id-token : write
1010
1111jobs :
12- build :
13- name : ' Build'
12+ build_and_docs :
13+ name : ' Build and Docs '
1414 timeout-minutes : 5
1515 runs-on : ubuntu-latest
1616 environment :
3535 - name : Deploy Typedoc to GitHub Pages
3636 id : deployment
3737 uses : actions/deploy-pages@v4
38-
39- test :
40- name : ' Test'
41- timeout-minutes : 20
42- runs-on : ubuntu-latest
43- steps :
44- - uses : actions/checkout@v4
45- - uses : actions/setup-node@v4
46- with :
47- node-version : latest
48- - name : Setup Dependencies
49- run : |
50- corepack enable
51- npm install
52- - name : Jest Tests
53- env :
54- CHINOOK_DATABASE_URL : ${{ secrets.CHINOOK_DATABASE_URL }}
55- CHINOOK_API_KEY : ${{ secrets.CHINOOK_API_KEY }}
56- GATEWAY_URL : ${{ secrets.GATEWAY_URL }}
57- run : npm test
58- - name : Upload Code Coverage
59- uses : codecov/codecov-action@v4
60- env :
61- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : ' Test'
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ jobs :
7+ test :
8+ name : ' Test'
9+ timeout-minutes : 20
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version : latest
16+ - name : Setup Dependencies
17+ run : |
18+ corepack enable
19+ npm install
20+ - name : Jest Tests
21+ env :
22+ CHINOOK_DATABASE_URL : ${{ secrets.CHINOOK_DATABASE_URL }}
23+ CHINOOK_API_KEY : ${{ secrets.CHINOOK_API_KEY }}
24+ GATEWAY_URL : ${{ secrets.GATEWAY_URL }}
25+ run : npm test
26+ - name : Upload Code Coverage
27+ uses : codecov/codecov-action@v4
28+ env :
29+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments