Skip to content

Commit

Permalink
Try to make npm ci work
Browse files Browse the repository at this point in the history
`npm ci` fails on CI with an error message:

```
npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Missing: [email protected] from lock file
npm ERR! Missing: [email protected] from lock file
```

nodejs/node#46542
  • Loading branch information
cruessler committed Apr 7, 2023
1 parent db5b562 commit 3646f51
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 @@ -57,7 +57,7 @@ jobs:
cp config/test.ci.exs config/test.exs
- run: mix deps.get
- run: npm ci
- run: npm ci --install-links=false
working-directory: assets

- name: Run tests
Expand Down

0 comments on commit 3646f51

Please sign in to comment.