Skip to content

Commit

Permalink
Install npm in CI without sudo
Browse files Browse the repository at this point in the history
For Cypress CI integration-tests do not run 'npm install' with 'sudo'.
  • Loading branch information
sbreker committed Aug 23, 2023
1 parent 3f31c4e commit 0dd579d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
~/.cache/Cypress
key: npm-${{ hashFiles('package-lock.json') }}
- name: Install NPM dependencies
run: sudo npm install -g npm && npm ci
run: npm install -g npm && npm ci
- name: Modify Gearman config
run: |
echo -e "all:\n servers:\n default: 127.0.0.1:63005" \
> apps/qubit/config/gearman.yml
- name: Build themes
run: |
sudo npm install -g "less@<4.0.0"
npm install -g "less@<4.0.0"
make -C plugins/arDominionPlugin
make -C plugins/arArchivesCanadaPlugin
npm run build
Expand Down

0 comments on commit 0dd579d

Please sign in to comment.