Skip to content

Commit 2d9a81d

Browse files
committed
build: add pull request check action to replace travis
1 parent add590e commit 2d9a81d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Pull Request Checks
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
types: [opened, synchronize, reopened]
7+
8+
jobs:
9+
unit_test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Install Node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 16
17+
cache: 'yarn'
18+
- run: yarn
19+
- run: yarn run test

0 commit comments

Comments
 (0)