Skip to content

Commit 1c85b1b

Browse files
authored
run GHA on pull requests (#8)
1 parent f370f7d commit 1c85b1b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: CI
2-
on: [push]
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened, ready_for_review]
5+
push:
36
jobs:
47
build:
58
runs-on: ubuntu-latest
69
strategy:
710
matrix:
811
node: ['14', '16', '18']
912
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-node@v2
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
1215
with:
1316
node-version: ${{ matrix.node }}
1417
- run: npm ci

0 commit comments

Comments
 (0)