Skip to content

Commit 3321100

Browse files
authored
ci(test): use test_matrix and test jobs (#168)
1 parent 70b22a6 commit 3321100

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name: Test
1313
- opened
1414
- synchronize
1515
jobs:
16-
test:
16+
test_matrix:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
@@ -31,5 +31,12 @@ jobs:
3131
- run: npm ci
3232
- run: npm run start-fixtures-server &
3333
- run: sleep 3
34-
- run: npm run test
34+
- run: npm run test --ignore-scripts # run lint only once
3535
- run: npm run test:typescript
36+
test:
37+
runs-on: ubuntu-latest
38+
needs: test_matrix
39+
steps:
40+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
41+
- run: npm ci
42+
- run: npm run lint

0 commit comments

Comments
 (0)