Update .gitlab-ci.yml file
This commit is contained in:
1 parent
7b550733f3
commit
493e59213e
1 file changed
+3
@@ -16,6 +16,9 @@ build_job:
|
|||||||
# Target the specific runner we just created
|
# Target the specific runner we just created
|
||||||
tags:
|
tags:
|
||||||
- nextjs
|
- nextjs
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
script:
|
script:
|
||||||
- echo "Installing dependencies..."
|
- echo "Installing dependencies..."
|
||||||
- bun ci # 'npm ci' is faster and safer for CI/CD than 'npm install'
|
- bun ci # 'npm ci' is faster and safer for CI/CD than 'npm install'
|
||||||
|
|||||||
Reference in new issue
Block a user