Skip to content

Commit

Permalink
portal: apply cypress build workaround
Browse files Browse the repository at this point in the history
On Ubuntu 22.04 with snap installed nodejs, one of the portal
dependencies fails to install:

cypress-io/cypress-documentation#5868

We'll apply the recommended workaround.
  • Loading branch information
petrutlucian94 committed Jul 17, 2024
1 parent 01cb255 commit 2f5b037
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v2.10.2/portal/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ parts:
export NPM_CONFIG_REGISTRY=https://registry.npmjs.org
# https://github.com/cypress-io/cypress-documentation/issues/5868
npm install cypress --save-dev --foreground-scripts
npm install --unsafe-perm
npm run generate-build-timestamp
node --max_old_space_size=2048 \
Expand Down

0 comments on commit 2f5b037

Please sign in to comment.