Translate WorkerNavigator properties #21438
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Redirects | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .nvmrc | |
- files/** | |
- .github/workflows/pr-check_redirects.yml | |
jobs: | |
check_redirects: | |
# do not run on PRs in forks | |
if: github.repository == 'mdn/translated-content' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: mdn/content | |
path: mdn/content | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "yarn" | |
cache-dependency-path: mdn/content/yarn.lock | |
- name: Install all yarn packages | |
working-directory: ${{ github.workspace }}/mdn/content | |
run: | | |
yarn --frozen-lockfile | |
env: | |
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check redirects file(s) | |
env: | |
CONTENT_ROOT: ${{ github.workspace }}/mdn/content/files | |
CONTENT_TRANSLATED_ROOT: ${{ github.workspace }}/files | |
working-directory: ${{ github.workspace }}/mdn/content | |
run: | | |
yarn content validate-redirects --strict |