Skip to content

Commit 604c80c

Browse files
committed
Create PR Test Action
Created a new GitHub action that tests every PR
1 parent 42d5812 commit 604c80c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test-on-pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Run Tests on PR
2+
on:
3+
pull_request:
4+
branches:
5+
- '**'
6+
7+
jobs:
8+
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.x'
15+
- run: npm ci
16+
- run: npm test

0 commit comments

Comments
 (0)