aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pr.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr.yml')
-rw-r--r--.github/workflows/pr.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 3287587a..8e533add 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -35,11 +35,13 @@ jobs:
CYPRESS_INSTALL_BINARY: 0
- name: Generate code
+ id: generate
run: |
pnpm run generate:locales
pnpm run generate:api-docs
pnpm run build
pnpm run test -u
+ continue-on-error: true
- name: Check diff
id: diff
@@ -56,8 +58,8 @@ jobs:
with:
script: |
const script = require('${{ github.workspace }}/.github/workflows/commentCodeGeneration.js')
- await script(github, context, ${{ steps.diff.outcome == 'success' }})
+ await script(github, context, ${{ steps.generate.outcome == 'success' && steps.diff.outcome == 'success' }})
- name: Status
- if: ${{ steps.diff.outcome == 'failure' }}
+ if: ${{ steps.generate.outcome == 'failure' || steps.diff.outcome == 'failure' }}
run: exit 1