From f1948bd5efac0acb286db398b665bb581fcaec27 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 7 Dec 2022 11:05:47 +0100 Subject: infra: check test snapshots to be up to date (#1632) --- .github/workflows/commentCodeGeneration.ts | 2 +- .github/workflows/pr.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/commentCodeGeneration.ts b/.github/workflows/commentCodeGeneration.ts index 715854cd..74a80927 100644 --- a/.github/workflows/commentCodeGeneration.ts +++ b/.github/workflows/commentCodeGeneration.ts @@ -21,7 +21,7 @@ module.exports = async ( issue_number: context.issue.number, }); - const body = `Uncommitted changes were detected after runnning generate:* commands.\nPlease run pnpm run generate:locales and pnpm run generate:api-docs to generate/update the related files, and commit them.`; + const body = `Uncommitted changes were detected after runnning generate:* commands.\nPlease run pnpm run generate:locales, pnpm run generate:api-docs, and pnpm run test -u to generate/update the related files, and commit them.`; const botComment = comments.find( (comment) => comment.user?.type === 'Bot' && comment.body?.includes(body) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4bf47cfc..3287587a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -38,6 +38,8 @@ jobs: run: | pnpm run generate:locales pnpm run generate:api-docs + pnpm run build + pnpm run test -u - name: Check diff id: diff -- cgit v1.2.3