Merge pull request #24 from simple-frontend-dev/changeset-release/main #54
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run code quality format check | |
| run: pnpm exec prettier --check --ignore-unknown src | |
| - name: Run code quality lint check | |
| run: pnpm exec eslint --no-warn-ignored src | |
| - name: Check types | |
| run: pnpm run check:types | |
| - name: Run tests | |
| run: pnpm run test | |
| - name: Build | |
| run: pnpm run build | |
| - name: Check exports | |
| run: pnpm run check:exports |