ci: use ESLint for linting, instead of XO (which uses ESLint internally) #1196
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: CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| - renovate/** | |
| pull_request: null | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| lint-commit-messages: | |
| uses: vidavidorra/.github/.github/workflows/lint-commit-messages.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| lint: | |
| uses: vidavidorra/.github/.github/workflows/node-lint.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| build: | |
| uses: vidavidorra/.github/.github/workflows/node-build.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| nodeVersion: [20, 22, 24] | |
| with: | |
| nodeVersion: ${{ matrix.nodeVersion }} | |
| test: | |
| uses: vidavidorra/.github/.github/workflows/node-test.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| nodeVersion: [20, 22, 24] | |
| with: | |
| nodeVersion: ${{ matrix.nodeVersion }} | |
| code-coverage: | |
| uses: vidavidorra/.github/.github/workflows/node-test-coverage.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| needs: | |
| - lint | |
| - build | |
| - test | |
| release: | |
| uses: vidavidorra/.github/.github/workflows/release.yml@debcb8c2c0127b0f1d8af5de4703602dea78dbb4 # v8.0.12 | |
| needs: | |
| - lint-commit-messages | |
| - lint | |
| - build | |
| - test | |
| - code-coverage | |
| secrets: | |
| privateKey: ${{ secrets.RELEASE_PRIVATE_KEY }} |