Skip to content

Commit

Permalink
ci: 👷 Woraround: run npm prepare after npm ci
Browse files Browse the repository at this point in the history
Runs the prepare script manually, since npm@7 has a bug and no longer runs the prepare script when running `npm ci`.

See: npm/cli#1905
  • Loading branch information
peterjuras committed Nov 21, 2020
1 parent 5310d3d commit 5a70a0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
- name: Install npm@7
run: sudo npm i -g npm@7
- uses: bahmutov/npm-install@v1
# Temporary workaround due to a bug in npm@7
# See: https://github.com/npm/cli/issues/1905
- name: TEMPORARY WORKAROUND run prepare script
run: npm run prepare
- name: Lint
run: npm run lint
- name: Test
Expand Down

0 comments on commit 5a70a0e

Please sign in to comment.