Skip to content

Commit 8c34474

Browse files
committed
test: Add testing to CI
1 parent 24bd6c0 commit 8c34474

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/push.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11

2-
name: Push
2+
name: Test
33

4-
on: [ push ]
4+
on:
5+
push:
6+
pull_request:
7+
8+
concurrency:
9+
group: ${{ github.head_ref || github.run_id }}
10+
cancel-in-progress: true
511

612
jobs:
713

814
build:
915

10-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.operating-system }}
1117

1218
strategy:
1319
fail-fast: false
1420
matrix:
21+
operating-system:
22+
- ubuntu-latest
23+
- windows-latest
1524
node-version:
16-
- 20.x # Maintenance
17-
- 22.x # Active
18-
- 23.x # Current
25+
- 20.x
26+
- 22.x
27+
- 24.x
1928

2029
steps:
2130

@@ -32,3 +41,6 @@ jobs:
3241

3342
- name: Yarn install
3443
run: yarn install
44+
45+
- name: Test
46+
run: yarn test

0 commit comments

Comments
 (0)