Skip to content

Commit a745ff5

Browse files
committed
add pr testing
1 parent f43a463 commit a745ff5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/pr-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Run tests on PR creation/update
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
build-and-test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
registry-url: https://registry.npmjs.org/
16+
- run: npm ci
17+
- run: npm test

0 commit comments

Comments
 (0)