From 21bbf28ce7421491b10d44a278b2262537fe5f15 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Fri, 26 Apr 2024 06:43:20 +0200 Subject: [PATCH] Temp job with Node.js v22 + typescript v5.5-beta --- .github/workflows/ci-ts-beta.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci-ts-beta.yml diff --git a/.github/workflows/ci-ts-beta.yml b/.github/workflows/ci-ts-beta.yml new file mode 100644 index 000000000..48a45780c --- /dev/null +++ b/.github/workflows/ci-ts-beta.yml @@ -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