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
script:
- nix-shell --run "npm install --ci"
- nix-shell --run "npm run build"
- nix-shell --run "npx semantic-release"
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH