Skip to content

Commit

Permalink
ci: Ignore scripts during npm install
Browse files Browse the repository at this point in the history
During npm install, the Lighthouse package which is installed from GitHub
(@master branch) triggers the newly added `prepack` script [1], but due to
a bug in NPM [2] the devDependencies are not available when the script
is run, thus making the installation fail.

[1]: GoogleChrome/lighthouse#13261
[2]: npm/cli#1865
  • Loading branch information
Keen Yee Liau committed Nov 16, 2021
1 parent 565a526 commit 3cdab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
with:
node-version: 14.x

- run: npm install
- run: npm install --ignore-scripts
- run: npm test

0 comments on commit 3cdab3c

Please sign in to comment.