mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-26 19:42:42 +00:00
ci: let pnpm handle build dependencies
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user