Bump @astrojs/check from 0.9.4 to 0.9.8 #1536
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: PR Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: true | |
| - name: Check code with ESLint | |
| run: pnpm run lint:check | |
| - name: Check code with Prettier | |
| run: pnpm run format:check | |
| - name: Build packages | |
| run: pnpm run build | |
| - name: Check types | |
| run: pnpm run check-types | |
| - name: Run unit tests | |
| run: pnpm run test | |
| - name: Check API report | |
| run: pnpm run api:check | |
| - name: Upload API report if check failed | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: api-report | |
| path: packages/ng-diagram/api-report/ng-diagram.api.md |