ci(changelogs): configure commits and workflows #3
Workflow file for this run
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: Check code quality | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| APP_CI: true | |
| APP_ENV: development | |
| NODE_VERSION: 22.14.0 | |
| PNPM_VERSION: 10.7.0 | |
| concurrency: | |
| group: qualityCheck-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| qualityCheck: | |
| name: Check code quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: 'Setup project' | |
| uses: ./.github/actions/setup-project | |
| # NODE_AUTH_TOKEN is needed to install private Github packages | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.PKG_REGISTRY_TOKEN }} | |
| - name: 'Lint' | |
| run: pnpm lint | |
| - name: 'Check missing changesets' | |
| run: pnpm changeset status --since origin/main | |
| - name: 'Test' | |
| run: pnpm test | |
| - name: 'Build project' | |
| run: pnpm build |