mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-24 18:42:45 +00:00
Compare commits
2 Commits
f82933c0ab
...
5c379a029a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c379a029a | ||
|
|
f188576ca9 |
@@ -31,6 +31,9 @@ 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:
|
||||
@@ -106,7 +109,13 @@ 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.24.0-debug
|
||||
name: gcr.io/kaniko-project/executor:v1.12.1-debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- >
|
||||
|
||||
@@ -10,7 +10,7 @@ integration:
|
||||
alias: elasticsearch
|
||||
script:
|
||||
- pnpm install
|
||||
- pnpm test:integration:backend --force --no-cache
|
||||
- pnpm test:integration:backend
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
|
||||
@@ -4,7 +4,10 @@ e2e:
|
||||
script:
|
||||
- pnpm install
|
||||
- pnpm --filter=@openstapps/app exec cypress install
|
||||
- pnpm test:integration:app --force --no-cache
|
||||
# - cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
# - npm run install
|
||||
# - cd $CI_PROJECT_DIR
|
||||
- pnpm test:integration:app
|
||||
artifacts:
|
||||
when: on_failure
|
||||
paths:
|
||||
|
||||
@@ -17,7 +17,6 @@ onlyBuiltDependencies:
|
||||
- ssh2
|
||||
- swiper
|
||||
|
||||
# PNPM 8 defaults:
|
||||
# linkWorkspacePackages: true
|
||||
# hoistWorkspacePackages: false
|
||||
# dedupePeerDependents: false
|
||||
Reference in New Issue
Block a user