Skip to content

[es] sync translated content #5160

[es] sync translated content

[es] sync translated content #5160

Workflow file for this run

name: JSON lint
on:
pull_request:
branches:
- main
paths:
- .nvmrc
- "**/*.json"
- "**/*.jsonc"
- .github/workflows/pr-check_json.yml
permissions: {}
jobs:
docs:
# do not run on PRs in forks
if: github.repository == 'mdn/translated-content'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: ".nvmrc"
cache: npm
- name: Install
run: npm ci
env:
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint JSON files
run: npm run lint:json