File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 66 pull_request :
77 branches :
88 - master
9+
910jobs :
10- test :
11+ code-quality :
1112 runs-on : ubuntu-latest
1213
1314 steps :
@@ -33,10 +34,42 @@ jobs:
3334 - name : ' [Code quality] Check format'
3435 run : npm run format:check
3536
37+ tests :
38+ runs-on : ubuntu-latest
39+
40+ steps :
41+ - name : ' [Prepare] Checkout'
42+ uses : actions/checkout@v4
43+ with :
44+ fetch-depth : 0
45+ - name : ' [Prepare] Setup Node.js'
46+ uses : actions/setup-node@v4
47+ with :
48+ node-version-file : ' package.json'
49+ cache : ' npm'
50+ - name : ' [Prepare] Install dependencies'
51+ run : npm ci
52+
3653 - name : ' [Unit tests] Browser tests'
3754 run : npm run test:unit:browser
3855 - name : ' [Unit tests] Node tests'
3956 run : npm run test:unit:node
4057
58+ build :
59+ runs-on : ubuntu-latest
60+
61+ steps :
62+ - name : ' [Prepare] Checkout'
63+ uses : actions/checkout@v4
64+ with :
65+ fetch-depth : 0
66+ - name : ' [Prepare] Setup Node.js'
67+ uses : actions/setup-node@v4
68+ with :
69+ node-version-file : ' package.json'
70+ cache : ' npm'
71+ - name : ' [Prepare] Install dependencies'
72+ run : npm ci
73+
4174 - name : ' [Build]'
4275 run : npm run build
You can’t perform that action at this time.
0 commit comments