Add deferred resolve entries as direct entry paths to avoid ws exclusion #2551
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: Tests (against typescript@next in Node.js v24) | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - '**' | |
| tags: | |
| - '!**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Ubuntu/Node v24 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - uses: pnpm/action-setup@v5 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Install latest peer dependencies | |
| run: pnpm add typescript@next @types/node@24 | |
| working-directory: packages/knip | |
| - name: Build knip | |
| run: pnpm run build | |
| working-directory: packages/knip | |
| - name: Test knip | |
| run: pnpm run test:node | |
| working-directory: packages/knip | |
| - name: Run knip | |
| run: ./packages/knip/bin/knip.js | |
| - name: Run knip in strict mode | |
| run: ./packages/knip/bin/knip.js --production --strict |