Skip to content

Commit fe7da7b

Browse files
oscard0mwolfy1339
andauthoredJul 11, 2022
ci(test): use test_matrix and test jobs (#483)
Co-authored-by: wolfy1339 <4595477+wolfy1339@users.noreply.github.com>
1 parent b517ae0 commit fe7da7b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed
 

‎.github/workflows/test.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: Test
99
- opened
1010
- synchronize
1111
jobs:
12-
test:
12+
test_matrix:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
@@ -27,4 +27,11 @@ jobs:
2727
- name: Install
2828
run: npm ci
2929
- name: Test
30-
run: npm test
30+
run: npm test --ignore-scripts # run lint only once
31+
test:
32+
runs-on: ubuntu-latest
33+
needs: test_matrix
34+
steps:
35+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
36+
- run: npm ci
37+
- run: npm run lint

0 commit comments

Comments
 (0)
Please sign in to comment.