Skip to content

Commit eb3da8d

Browse files
committed
ci(Actions): add GitHub Actions
1 parent ebf726e commit eb3da8d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)