Skip to content

Commit 9a43581

Browse files
Add github actions
1 parent ae1b2f8 commit 9a43581

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
name: CI
3+
4+
on: [push]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Use Node.js 12.8
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 12.8
16+
- name: Install dependencies
17+
run: npm install
18+
- name: Lint
19+
run: npm run lint
20+
- name: Build
21+
run: npm run build -- --prod
22+
- name: Test
23+
run: npm test

0 commit comments

Comments
 (0)