mirror of
https://github.com/actions/setup-node.git
synced 2025-12-13 15:58:30 +08:00
Try pruning first so that devDeps definitely aren't installed
This commit is contained in:
2
.github/main.workflow.yml
vendored
2
.github/main.workflow.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
version: 10.x
|
version: 10.x
|
||||||
|
|
||||||
- name: npm install
|
- name: npm install
|
||||||
run: npm install
|
run: npm prune --production && npm install
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run format-check
|
run: npm run format-check
|
||||||
|
|||||||
Reference in New Issue
Block a user