mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-23 01:53:00 +00:00
Compare commits
2 Commits
5c379a029a
...
f82933c0ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f82933c0ab | ||
|
|
4b55d80995 |
@@ -31,9 +31,6 @@ default:
|
||||
before_script:
|
||||
- corepack enable
|
||||
- corepack prepare pnpm@latest-10 --activate
|
||||
# - echo TURBO_API=$TURBO_API >> .env.local
|
||||
# - echo TURBO_TOKEN=$TURBO_TOKEN >> .env.local
|
||||
# - echo TURBO_TEAM=$TURBO_TEAM >> .env.local
|
||||
- pnpm config set store-dir .pnpm-store
|
||||
cache: &pnpm_cache
|
||||
key:
|
||||
@@ -109,13 +106,7 @@ unit:
|
||||
stage: test
|
||||
needs: ['build']
|
||||
script:
|
||||
# - pnpm config set recursive-install false
|
||||
# - pnpm i --prefer-offline
|
||||
# - pnpm test:skip || pnpm i -r --prefer-offline
|
||||
- pnpm install
|
||||
# - cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
# - npm run install
|
||||
# - cd $CI_PROJECT_DIR
|
||||
- pnpm test $TURBO_CACHE_BYPASS
|
||||
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
|
||||
artifacts:
|
||||
|
||||
@@ -27,7 +27,7 @@ publish image:
|
||||
- tags
|
||||
needs: ['deploy']
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:v1.12.1-debug
|
||||
name: gcr.io/kaniko-project/executor:v1.24.0-debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- >
|
||||
|
||||
@@ -10,7 +10,7 @@ integration:
|
||||
alias: elasticsearch
|
||||
script:
|
||||
- pnpm install
|
||||
- pnpm test:integration:backend
|
||||
- pnpm test:integration:backend --force --no-cache
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
|
||||
@@ -4,10 +4,7 @@ e2e:
|
||||
script:
|
||||
- pnpm install
|
||||
- pnpm --filter=@openstapps/app exec cypress install
|
||||
# - cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
# - npm run install
|
||||
# - cd $CI_PROJECT_DIR
|
||||
- pnpm test:integration:app
|
||||
- pnpm test:integration:app --force --no-cache
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
|
||||
@@ -17,6 +17,7 @@ onlyBuiltDependencies:
|
||||
- ssh2
|
||||
- swiper
|
||||
|
||||
# PNPM 8 defaults:
|
||||
# linkWorkspacePackages: true
|
||||
# hoistWorkspacePackages: false
|
||||
# dedupePeerDependents: false
|
||||
Reference in New Issue
Block a user