mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
ci: include backend integration tests
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
include: '/backend/backend/.gitlab-ci.yml'
|
||||
|
||||
default:
|
||||
image: registry.gitlab.com/openstapps/projectmanagement/builder:v18
|
||||
tags:
|
||||
@@ -7,12 +9,14 @@ default:
|
||||
- echo TURBO_TOKEN=$TURBO_TOKEN >> .env.local
|
||||
- echo TURBO_TEAM=$TURBO_TEAM >> .env.local
|
||||
- pnpm config set store-dir .pnpm-store
|
||||
cache:
|
||||
cache: &pnpm_cache
|
||||
key:
|
||||
files:
|
||||
- pnpm-lock.yaml
|
||||
paths:
|
||||
- .pnpm-store
|
||||
- .pnpm-store/
|
||||
- node-modules/
|
||||
policy: pull
|
||||
|
||||
stages:
|
||||
- build
|
||||
@@ -29,6 +33,9 @@ build:
|
||||
artifacts:
|
||||
paths:
|
||||
- www
|
||||
cache:
|
||||
<<: *pnpm_cache
|
||||
policy: pull-push
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH == "develop"
|
||||
# when: never
|
||||
|
||||
Reference in New Issue
Block a user