Add engine field verification with installed-check
#470
Workflow file for this run
This file contains 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@latest) | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Ubuntu/Node v20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm install typescript@latest | |
- run: npm run build --workspace packages/knip | |
- run: npx knip | |
- run: npx knip --production --strict | |
- run: npm test --workspaces --if-present |