Skip to content

Commit 514ca48

Browse files
authored
ci(test): use test_matrix and test jobs (#65)
1 parent df462d2 commit 514ca48

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
@@ -7,7 +7,7 @@ on:
77
types: [opened, synchronize]
88

99
jobs:
10-
test:
10+
test_matrix:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
@@ -26,4 +26,11 @@ jobs:
2626
- name: Install
2727
run: npm ci
2828
- name: Test
29-
run: npm test
29+
run: npm test --ignore-scripts # run lint only once
30+
test:
31+
runs-on: ubuntu-latest
32+
needs: test_matrix
33+
steps:
34+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
35+
- run: npm ci
36+
- run: npm run lint

0 commit comments

Comments
 (0)