[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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