Merge pull request #481 from Kingsuite/feat/soft-delete-pre-hooks #5
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: Type Check | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| typecheck: | |
| name: TypeScript type check & dependency audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Clean install dependencies | |
| run: npm ci | |
| - name: Check for undeclared dependencies | |
| run: npm run check:deps | |
| - name: Run TypeScript type check | |
| run: npm run typecheck | |
| - name: Build | |
| run: npm run build |