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