Skip to content

Commit 538d2b7

Browse files
committed
chore: add build action
1 parent 2c76068 commit 538d2b7

File tree

3 files changed

+1216
-6
lines changed

3 files changed

+1216
-6
lines changed

.github/workflows/build.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
- v2-dev
9+
- configure-github-actions
10+
pull_request:
11+
branches:
12+
- master
13+
- dev
14+
- v2-dev
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: actions/setup-node@v2
22+
with:
23+
node-version: 14.16
24+
- run: git branch
25+
- run: npm ci
26+
- run: npm run build
27+
28+
lint:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: actions/setup-node@v2
33+
with:
34+
node-version: 14.16
35+
- run: git branch
36+
- run: npm ci
37+
- run: npm run lint
38+
39+
test:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v2
43+
- uses: actions/setup-node@v2
44+
with:
45+
node-version: 14.16
46+
- run: npm ci
47+
- run: npm run test

0 commit comments

Comments
 (0)