Revert "add separate build step"
This reverts commit 92f8543a30702529c267bc9ca691b0e1a1ce2551.
This commit is contained in:
parent
4032abc4db
commit
f87a96da7f
1 changed files with 3 additions and 16 deletions
|
|
@ -1,10 +1,9 @@
|
|||
stages:
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
.build_common: &build_common
|
||||
stage: build
|
||||
.test_common: &test_common
|
||||
stage: test
|
||||
image: docker.io/node:22
|
||||
variables:
|
||||
POSTGRES_PASSWORD: ci
|
||||
|
|
@ -19,7 +18,7 @@ stages:
|
|||
- git submodule update --init
|
||||
- pnpm install --frozen-lockfile
|
||||
cache:
|
||||
key: build
|
||||
key: test
|
||||
policy: pull-push
|
||||
when: on_success
|
||||
paths:
|
||||
|
|
@ -30,17 +29,6 @@ stages:
|
|||
- merge_requests
|
||||
- stable
|
||||
|
||||
build:
|
||||
<<: *build_common
|
||||
script:
|
||||
- pnpm run build
|
||||
|
||||
.test_common: &test_common
|
||||
<<: *build_common
|
||||
stage: test
|
||||
cache:
|
||||
key: test
|
||||
|
||||
lint:
|
||||
<<: *test_common
|
||||
script:
|
||||
|
|
@ -162,7 +150,6 @@ include:
|
|||
variables:
|
||||
# https://docs.gitlab.com/user/application_security/sast/gitlab_advanced_sast
|
||||
GITLAB_ADVANCED_SAST_ENABLED: 'true'
|
||||
SEARCH_MAX_DEPTH: 32
|
||||
|
||||
# https://docs.gitlab.com/user/application_security/sast/#vulnerability-filters
|
||||
# https://stackoverflow.com/a/71111784
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue