Add node worklow
This commit is contained in:
parent
b18a0efe2c
commit
6599f97088
12
.github/workflows → .github/workflows/nodejs.yml
vendored
12
.github/workflows → .github/workflows/nodejs.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Node.js CI
|
name: Node CI
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@ -12,9 +12,11 @@ jobs:
|
|||||||
- 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 build --if-present
|
||||||
|
npm run lint
|
||||||
|
npm test
|
||||||
env:
|
env:
|
||||||
CI: true
|
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