chore(deps): update commitlint monorepo to v20 (major) #4487
This file contains hidden or 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: | |
| strategy: | |
| matrix: | |
| locale: [en, de, es, fr, ja, ko, pt-BR, th, zh-CN, zh-TW] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node and pnpm | |
| uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
| - name: Build | |
| run: | | |
| pnpm build --locale ${{ matrix.locale }} | |
| - name: Test redirects | |
| if: ${{ matrix.locale == 'en' }} | |
| run: | | |
| pnpm serve & | |
| sleep 3 | |
| node test-redirects.mjs | |
| main-built-tutorial: | |
| strategy: | |
| matrix: | |
| locale: [en, es, fr, ja, th] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node and pnpm | |
| uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
| - name: Build | |
| run: | | |
| pnpm build:tutorials --locale ${{ matrix.locale }} | |
| main-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node and pnpm | |
| uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
| - name: Lint | |
| run: pnpm lint |