diff options
| author | ST-DDT <[email protected]> | 2022-12-07 11:05:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-07 10:05:47 +0000 |
| commit | f1948bd5efac0acb286db398b665bb581fcaec27 (patch) | |
| tree | 39177ce22c78e0ccf93653ca71928c8aacfd1251 /.github/workflows | |
| parent | 97dbfa198644da98dc3f423acaaeb2976647e52b (diff) | |
| download | faker-f1948bd5efac0acb286db398b665bb581fcaec27.tar.xz faker-f1948bd5efac0acb286db398b665bb581fcaec27.zip | |
infra: check test snapshots to be up to date (#1632)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/commentCodeGeneration.ts | 2 | ||||
| -rw-r--r-- | .github/workflows/pr.yml | 2 |
2 files changed, 3 insertions, 1 deletions
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 <code>generate:*</code> commands.\nPlease run <code>pnpm run generate:locales</code> and <code>pnpm run generate:api-docs</code> to generate/update the related files, and commit them.`; + const body = `Uncommitted changes were detected after runnning <code>generate:*</code> commands.\nPlease run <code>pnpm run generate:locales</code>, <code>pnpm run generate:api-docs</code>, and <code>pnpm run test -u</code> 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 |
