Skip to content

Commit 926d6e8

Browse files
authored
Improve CI workflow (#2649)
1 parent b5a8260 commit 926d6e8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Diff for: .github/workflows/CI.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: CI
22
on:
33
push:
4-
branches: [master]
4+
branches:
5+
- 'master'
56
pull_request:
6-
branches: [master]
7+
types:
8+
- 'opened'
9+
- 'synchronize'
10+
- 'reopened'
711

812
permissions:
913
contents: read
@@ -27,15 +31,13 @@ jobs:
2731
strategy:
2832
matrix:
2933
node: [18, 20]
30-
os: [ubuntu-latest]
3134
eslint: [8, 9]
3235
include:
3336
# On old Node version
34-
- eslint: 8
35-
node: 17
36-
os: ubuntu-latest
37+
- node: 17
38+
eslint: 8
3739

38-
runs-on: ${{ matrix.os }}
40+
runs-on: ubuntu-latest
3941
steps:
4042
- name: Checkout
4143
uses: actions/checkout@v3

0 commit comments

Comments
 (0)