Skip to content

Commit 63a98fd

Browse files
committed
Improve GH Actions CI
1 parent fc45596 commit 63a98fd

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
node: [10.x, 12.x, 14.x, 15.x]
15+
node: [12.x, 14.x, 15.x]
1616
fail-fast: false
1717

1818
steps:
@@ -36,13 +36,13 @@ jobs:
3636
- name: Install dependencies
3737
run: yarn install --frozen-lockfile
3838

39-
- name: Check outdated dependencies
40-
if: github.ref == 'refs/heads/main'
41-
run: yarn outdated
42-
4339
- name: Lint
40+
if: matrix.os == 'ubuntu-latest' && matrix.node == '14.x'
4441
run: yarn lint
4542

43+
- name: Build
44+
run: yarn build
45+
4646
- name: Test
4747
run: yarn jest --ci --silent --reporters=default --reporters=jest-junit
4848

@@ -59,5 +59,6 @@ jobs:
5959
- name: Audit peerDependencies
6060
run: yarn audit --groups peerDependencies
6161

62-
- name: Build
63-
run: yarn build
62+
- name: Check outdated dependencies
63+
if: github.ref == 'refs/heads/main'
64+
run: yarn outdated

0 commit comments

Comments
 (0)