Skip to content

Commit 5e66e3f

Browse files
committed
ci(test): add test jobs
1 parent da558c1 commit 5e66e3f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
- '!master'
7+
jobs:
8+
test:
9+
name: Release
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 12
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Test
23+
run: |
24+
npm run test:prod
25+
npm run build

0 commit comments

Comments
 (0)