File tree Expand file tree Collapse file tree 5 files changed +5187
-446
lines changed
Expand file tree Collapse file tree 5 files changed +5187
-446
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Test and Build
33on :
44 push :
55 branches :
6+ - master
67 - $default_branch
78 pull_request :
89
2324 - name : Type checking
2425 run : npm run test:types
2526 - name : Unit tests
26- run : npm run test:unit:ci
27- build :
28- needs : tests
29- runs-on : ubuntu-latest
30- steps :
31- - name : Checkout
32- uses : actions/checkout@v3
33- - name : Using Node.JS
34- uses : actions/setup-node@v3
35- with :
36- node-version-file : ' .nvmrc'
37- - name : Install dependencies
38- run : npm ci
39- - name : Build project
40- run : npm run build
41-
42-
27+ run : npm run test:unit:ci
Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ workflow_run :
5+ workflows : [Test And Build]
6+ types : [completed]
7+ push :
8+ branches :
9+ - master
10+ - $default_branch
11+
12+ jobs :
13+ deploy :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ - name : Using Node.JS
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version-file : ' .nvmrc'
22+ - name : Install dependencies
23+ run : npm ci
24+ - name : Build project
25+ run : npm run build
26+ -
27+
28+
You can’t perform that action at this time.
0 commit comments