Add github workflow
This commit is contained in:
20
.github/workflows
vendored
Normal file
20
.github/workflows
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Node.js CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
env:
|
||||
CI: true
|
Reference in New Issue
Block a user