Skip to content

Commit 2eb0233

Browse files
authored
fix: run tests on PRs (#118)
1 parent 3a134b5 commit 2eb0233

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- '**'
410

511
jobs:
612
build:
@@ -9,12 +15,12 @@ jobs:
915

1016
strategy:
1117
matrix:
12-
node-version: [18.x]
18+
node-version: [20.x]
1319

1420
steps:
15-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
1622
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
1824
with:
1925
node-version: ${{ matrix.node-version }}
2026
- run: npm i --force

0 commit comments

Comments
 (0)