Skip to content

Commit c76ef93

Browse files
authored
Add test workflow
1 parent 9e54dc5 commit c76ef93

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Use Node.js v12
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.x
15+
- name: Test
16+
run: |
17+
yarn install
18+
yarn build
19+
yarn test
20+
env:
21+
CI: true

0 commit comments

Comments
 (0)