Skip to content

feat: numeric embedded fields #7025

feat: numeric embedded fields

feat: numeric embedded fields #7025

Workflow file for this run

name: Check i18n
on: pull_request
jobs:
check-locales:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/visual-editor
steps:
- name: Checkout
uses: actions/checkout@v4.1.6
- name: Install pnpm
uses: pnpm/action-setup@v4.0.0
- run: pnpm i --ignore-scripts
- name: Run i18n update
run: pnpm run i18n:update
- name: Push changes
id: push-changes
uses: EndBug/add-and-commit@v9
with:
message: "Check i18n/i18n updates"
add: "*"
push: true
pull: --rebase --autostash
default_author: github_actions
- name: Fail job if push changes
if: steps.push-changes.outputs.pushed == 'true'
uses: actions/github-script@v3
with:
script: |
core.setFailed('i18n changes were made. A new commit with autofixes was pushed.')
- name: Lint i18n files
run: pnpm run i18n:lint