Add node worklow
This commit is contained in:
parent
b18a0efe2c
commit
3aeed022b5
41
.github/workflows → .github/workflows/nodejs.yml
vendored
41
.github/workflows → .github/workflows/nodejs.yml
vendored
@ -1,20 +1,21 @@
|
|||||||
name: Node.js CI
|
name: Node CI
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
- run: npm install
|
- name: npm install, build, and test
|
||||||
- run: npm run build
|
run: |
|
||||||
- run: npm run lint
|
npm ci
|
||||||
- run: npm test
|
npm run lint
|
||||||
env:
|
npm test
|
||||||
CI: true
|
env:
|
||||||
|
CI: true
|
14767
package-lock.json
generated
Normal file
14767
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user