Skip to content

chore(deps-dev): bump validator from 13.15.15 to 13.15.20 #10161

chore(deps-dev): bump validator from 13.15.15 to 13.15.20

chore(deps-dev): bump validator from 13.15.15 to 13.15.20 #10161

Workflow file for this run

name: PR
on:
pull_request:
merge_group:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
check-code-generation:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Check Code Generation: node-24, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- name: Set node version to 24
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 24.9.0
cache: 'pnpm'
- name: Install deps
run: pnpm install
- 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
env:
CI_PREFLIGHT: true
- name: Check diff
id: diff
run: |
git add .
git diff --cached --name-only | sed -E 's/^(.*)$/::error file=\1,title=Diff detected::Please run `pnpm run preflight` and commit the changes./'
git diff --cached --name-only --exit-code
continue-on-error: true
- name: Status
if: ${{ steps.generate.outcome == 'failure' || steps.diff.outcome == 'failure' }}
run: exit 1