diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index 1b2d06ae9e0..2f804dc1846 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -59,12 +59,13 @@ jobs: id: npm-audit uses: nextcloud-libraries/npm-audit-action@1b1728b2b4a7a78d69de65608efcf4db0e3e42d0 # v0.2.0 - - name: Run npm ci + - name: Run npm ci and npm run build if: steps.checkout.outcome == 'success' env: CYPRESS_INSTALL_BINARY: 0 run: | npm ci + npm run build --if-present - name: Create Pull Request if: steps.checkout.outcome == 'success'