summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/npm-audit-fix.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml
index 2632da4f7c5..dededbc97ff 100644
--- a/.github/workflows/npm-audit-fix.yml
+++ b/.github/workflows/npm-audit-fix.yml
@@ -43,9 +43,13 @@ jobs:
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- - name: Fix npm audit, run npm ci and npm run build
+ - name: Fix npm audit
run: |
npm audit fix
+
+ - name: Run npm ci and npm run build
+ if: always()
+ run: |
npm ci
npm run build --if-present