Skip to content

Commit

Permalink
Simplify CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jun 13, 2024
1 parent 297288d commit 7ba481f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 97 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/integration.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/test-ts-latest.yml

This file was deleted.

23 changes: 14 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,19 @@ jobs:
name: ${{ matrix.os }} (Node v${{ matrix.node }})

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm install [email protected] @types/node@18
- run: npm run lint --workspaces --if-present
- run: npm run build --workspace packages/knip
- run: npx knip
- run: npx knip --production --strict
- run: npm test --workspaces --if-present
- name: Install dependencies
run: npm install [email protected] @types/node@18 --ignore-scripts
- name: Build knip
run: npm run build
working-directory: packages/knip
- name: Run knip
run: npx knip
- name: Run knip (production/strict)
run: npx knip --production --strict
- name: Test knip
run: npm run test:node
working-directory: packages/knip

0 comments on commit 7ba481f

Please sign in to comment.