build: run build only on release

This commit is contained in:
husa 2025-05-02 17:49:35 +03:00
parent 7dc8d4cb54
commit 3951b64d22

View File

@ -26,10 +26,13 @@ jobs:
with:
node-version: 22
cache: 'npm'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}