[ci] setup github actions

This commit is contained in:
Evan You
2019-09-14 10:33:30 -04:00
committed by GitHub
parent 5180ea6b43
commit aa7cdd8de2

20
.github/workflows/nodejs.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Node CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: test
run: |
yarn
yarn test
env:
CI: true
TEST: true