ci: add lint and build in Node.js CI
This commit is contained in:
parent
02337add0d
commit
638c86708e
6
.github/workflows/nodejs.yml
vendored
6
.github/workflows/nodejs.yml
vendored
@ -34,5 +34,11 @@ jobs:
|
|||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
run: 'npm install'
|
run: 'npm install'
|
||||||
|
|
||||||
|
- name: 'Lint'
|
||||||
|
run: 'npm run lint'
|
||||||
|
|
||||||
|
- name: 'Build'
|
||||||
|
run: 'npm run build'
|
||||||
|
|
||||||
- name: 'Run the tests'
|
- name: 'Run the tests'
|
||||||
run: 'npm test'
|
run: 'npm test'
|
||||||
|
Reference in New Issue
Block a user