Skip to content

Commit ac6bd69

Browse files
chore(ci): add github action
1 parent 3fe3a66 commit ac6bd69

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [10.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: install yarn
21+
run: npm install -g yarn
22+
- name: install, build, test
23+
run: |
24+
yarn
25+
tsc
26+
yarn test
27+
env:
28+
CI: true

0 commit comments

Comments
 (0)