Skip to content

Commit

Permalink
Add InvokeAI to integration tests (knip-bun + production mode + auto-…
Browse files Browse the repository at this point in the history
…fix)
  • Loading branch information
webpro committed Apr 16, 2024
1 parent 80530ec commit 82f19f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: oven-sh/setup-bun@v1

- run: cd packages/knip && npm install && npm run build && npm link

Expand Down Expand Up @@ -87,3 +88,16 @@ jobs:
path: TypeScript
ref: remove-unused-exports
- run: cd TypeScript && npm install && knip --tags=-internal,-knipignore --exclude duplicates

- name: Test Knip against InvokeAI
uses: actions/checkout@v4
with:
repository: invoke-ai/InvokeAI
path: InvokeAI
sparse-checkout: invokeai/frontend/web
- run: |
cd InvokeAI/invokeai/frontend/web
pnpm install
knip-bun
knip-bun --production --fix --no-exit-code
knip-bun --production

0 comments on commit 82f19f3

Please sign in to comment.