chore: remove generated tutorials from git version control #3173
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: Main | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: main-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node and pnpm | |
uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
- name: Build | |
run: pnpm build | |
- name: Test redirects | |
run: | | |
pnpm serve & | |
sleep 3 | |
node test-redirects.mjs | |
main-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node and pnpm | |
uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
- name: Lint | |
run: pnpm lint | |
main-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node and pnpm | |
uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
- name: Check if there are outdated translations | |
run: | | |
node translate.mjs --locale de --all --check | |
node translate.mjs --locale es --all --check | |
node translate.mjs --locale fr --all --check | |
node translate.mjs --locale pt-BR --all --check | |
node translate.mjs --locale zh-CN --all --check | |