We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db95b3 commit 55f4021Copy full SHA for 55f4021
.github/workflows/on-pull-request.yml
@@ -8,9 +8,32 @@ on:
8
permissions: write-all
9
10
jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ node-version:
17
+ - 16.x
18
19
+ steps:
20
+ - name: Checkouting code...
21
+ uses: actions/checkout@v3
22
+ with:
23
+ ref: ${{ github.head_ref }}
24
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v3
27
28
+ node-version: ${{ matrix.node-version }}
29
30
+ - name: NPM test
31
+ run: npm run test
32
33
build:
34
35
runs-on: ubuntu-latest
36
+ needs: test
37
38
strategy:
39
matrix:
@@ -40,9 +63,6 @@ jobs:
40
63
- name: NPM format check
41
64
run: npm run format-check
42
65
43
- - name: NPM test
44
- run: npm run test
45
-
46
66
- name: Lint
47
67
run: npm run lint
48
68
0 commit comments