-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temp job with Node.js v22 + typescript v5.5-beta
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Tests (against typescript@beta in Node.js v22) | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '!**' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Ubuntu/Node v22 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
- run: npm install typescript@beta @types/node@20 --ignore-scripts | ||
- name: Build knip | ||
run: npm run build | ||
working-directory: packages/knip | ||
- name: Test knip | ||
run: npm run test:node | ||
working-directory: packages/knip | ||
- name: Run knip | ||
run: npx knip | ||
- name: Run knip --production --strict | ||
run: npx knip --production --strict |