Skip to content
Snippets Groups Projects
Commit ae80c883 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

ci(release): try prevent pre_commit hooks to run

parent ae4a04ef
Branches
Tags
No related merge requests found
Pipeline #66001 failed
...@@ -2,8 +2,8 @@ stages: ...@@ -2,8 +2,8 @@ stages:
- linting - linting
- test - test
- analyze - analyze
- release
- build - build
- release
- integration - integration
- deploy - deploy
...@@ -40,16 +40,6 @@ test_storybook: ...@@ -40,16 +40,6 @@ test_storybook:
- npx playwright install --with-deps - npx playwright install --with-deps
- npm run test-storybook:ci - npm run test-storybook:ci
semantic_release:
stage: release
script:
- npm install
- echo "@astron-sdc:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npx semantic-release@22
rules:
- if: $CI_COMMIT_BRANCH == 'main'
build_static_files: build_static_files:
stage: build stage: build
script: script:
...@@ -68,6 +58,17 @@ build_package: ...@@ -68,6 +58,17 @@ build_package:
- dist - dist
expire_in: "1w" expire_in: "1w"
semantic_release:
stage: release
needs: [build_package]
script:
- npm ci --ignore-scripts
- echo "@astron-sdc:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npx semantic-release@22
rules:
- if: $CI_COMMIT_BRANCH == 'main'
build_docker_image: build_docker_image:
stage: build stage: build
image: docker:20-cli image: docker:20-cli
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment