Skip to content

Commit a40be3d

Browse files
committed
add github actions
1 parent 3e6d89b commit a40be3d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: 12
14+
- name: npm install, build, and test
15+
run: |
16+
npm install
17+
npm run prepare --if-present
18+
npm test
19+
env:
20+
CI: true

0 commit comments

Comments
 (0)