Sync CI (batch 4) #79
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: Sync CI (batch 4) | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run this job every Monday at 3am | |
- cron: "0 3 * * 1" | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
USER_NAME: ${{ secrets.USER_NAME }} | |
USER_EMAIL: ${{ secrets.USER_EMAIL }} | |
defaults: | |
run: | |
working-directory: ./scripts | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
cache-dependency-path: ./scripts/yarn.lock | |
- run: yarn install | |
- run: ACTIONS_BATCH_PATTERN=6:4 yarn sync-translations |