[ci] setup github actions
This commit is contained in:
parent
5180ea6b43
commit
aa7cdd8de2
20
.github/workflows/nodejs.yml
vendored
Normal file
20
.github/workflows/nodejs.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user