Skip to content

Commit 0f5dfb9

Browse files
authored
Merge pull request #32 from nibble-4bits/chore/github-action-pr-tests
Create workflow for running unit tests on `pull_request` event
2 parents e3eb393 + f913f82 commit 0f5dfb9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pr-run-tests.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pr-run-tests
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
run-tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: '16'
13+
- name: Install dependencies
14+
run: npm ci
15+
- name: Run tests
16+
run: npm test

0 commit comments

Comments
 (0)