Skip to content

Commit 6569452

Browse files
committed
chore: add gh workflows
1 parent ad5b412 commit 6569452

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build TEst
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build-test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Use Node.js
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: 14.x
23+
24+
- name: Install dependencies
25+
uses: bahmutov/npm-install@v1
26+
27+
- name: Build
28+
run: yarn build
29+
30+
- name: Test
31+
run: yarn test

0 commit comments

Comments
 (0)