[test] Fix flaky screenshots (#11391) #3903
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: Update missing translations | |
on: | |
push: | |
branches: | |
- master | |
- next | |
permissions: {} | |
jobs: | |
# Tests dev-only scripts across all supported dev environments | |
update-l10n: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- run: echo "${{ github.actor }}" | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version: 18 | |
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies | |
- run: yarn install | |
env: | |
# Don't need playwright in this job | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
- name: yarn l10n --report | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git remote -v | |
yarn l10n --report |