Skip to content

Commit bc074bc

Browse files
committed
Add GH action
1 parent eb9415a commit bc074bc

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 - action"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
unit-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Use Node.js LTS
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '14.x'
19+
- uses: bahmutov/npm-install@v1
20+
with:
21+
install-command: yarn --immutable
22+
- name: Unit Tests
23+
run: make test
24+
env:
25+
CI: true

0 commit comments

Comments
 (0)