chore: consolidate npm to bun in CI workflows
Pull Request / unit-tests (pull_request) Failing after 1m11s
Pull Request / e2e-tests (pull_request) Has been skipped
Pull Request / analyze-bump-type (pull_request) Has been skipped

- Update justfile to use bun instead of npm for all commands
- Fix broken test glob patterns in package.json and workflows
- Fix npm run test:acceptance:cucumber:prod to use bun
- Update pr.yml and release.yml unit test commands to use correct path format
- Run 157 unit tests (was only running ~2 due to broken glob)
This commit is contained in:
2026-05-10 21:15:15 -07:00
parent 1489848b77
commit b5b9f32a87
4 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
DATABASE_URL: postgresql://user:pass@localhost:5432/dummy
- name: Run unit tests
run: bun test src/__tests__/unit/ src/__tests__/*.test.tsx src/__tests__/auth-simple.test.ts
run: bun test src/__tests__/unit/ 'src/__tests__/*.test.tsx' src/__tests__/auth-simple.test.ts
e2e-tests:
runs-on: ubuntu-latest
@@ -53,7 +53,7 @@ jobs:
DATABASE_URL: postgresql://user:pass@localhost:5432/dummy
- name: Run E2E tests
run: npm run test:acceptance:cucumber:prod
run: bun run test:acceptance:cucumber:prod
env:
DATABASE_URL: postgresql://euchre_camp:${{ secrets.DB_PASSWORD }}@dhg.lol:5432/euchre_camp_dev
DATABASE_PROVIDER: postgresql