ci: see if build is required

This commit is contained in:
Dylan R. E. Moonfire 2021-11-18 02:15:09 -06:00
parent 5e2f3c05f0
commit 677139b6f4

View file

@ -58,6 +58,7 @@ publish:
stage: release stage: release
script: script:
- nix-shell --run "npm install --ci" - nix-shell --run "npm install --ci"
- nix-shell --run "npm run build"
- nix-shell --run "npx semantic-release" - nix-shell --run "npx semantic-release"
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH