ci: let pnpm handle build dependencies

This commit is contained in:
Rainer Killinger
2025-06-12 16:04:30 +02:00
parent 09ce46ed7e
commit 67e483dc82
2 changed files with 7 additions and 7 deletions

View File

@@ -107,9 +107,9 @@ unit:
# - pnpm i --prefer-offline # - pnpm i --prefer-offline
# - pnpm test:skip || pnpm i -r --prefer-offline # - pnpm test:skip || pnpm i -r --prefer-offline
- pnpm install - pnpm install
- cd node_modules/.pnpm/re2*/node_modules/re2 # - cd node_modules/.pnpm/re2*/node_modules/re2
- npm run install # - npm run install
- cd $CI_PROJECT_DIR # - cd $CI_PROJECT_DIR
- pnpm test $TURBO_CACHE_BYPASS - pnpm test $TURBO_CACHE_BYPASS
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/' coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts: artifacts:

View File

@@ -2,11 +2,11 @@ e2e:
image: registry.gitlab.com/openstapps/openstapps/app-cypress:node-22 image: registry.gitlab.com/openstapps/openstapps/app-cypress:node-22
stage: test stage: test
script: script:
- pnpm --filter=@openstapps/app install - pnpm install
- pnpm --filter=@openstapps/app exec cypress install - pnpm --filter=@openstapps/app exec cypress install
- cd node_modules/.pnpm/re2*/node_modules/re2 # - cd node_modules/.pnpm/re2*/node_modules/re2
- npm run install # - npm run install
- cd $CI_PROJECT_DIR # - cd $CI_PROJECT_DIR
- pnpm test:integration:app - pnpm test:integration:app
artifacts: artifacts:
when: on_failure when: on_failure