Skip to content

Commit c587def

Browse files
committed
ci: add PR test script
1 parent 1bde03d commit c587def

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on: pull_request
2+
name: Pull Request
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
node: [12]
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Nodejs ${{ matrix.node }}
13+
uses: actions/setup-node@v1
14+
- name: Install dependencies
15+
env:
16+
CI: true
17+
run: npm install
18+
- name: Test
19+
run: npm test

0 commit comments

Comments
 (0)