Skip to content

Commit aed23f0

Browse files
committed
chore(tooling): run oxlint and playwright with bun
1 parent efb0296 commit aed23f0

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
3636
- name: Install Playwright Browsers
3737
if: steps.playwright-cache.outputs.cache-hit != 'true'
38-
run: bunx playwright install --with-deps
38+
run: bunx --bun playwright install --with-deps
3939

4040
- name: Install Playwright System Dependencies
4141
if: steps.playwright-cache.outputs.cache-hit == 'true'
42-
run: bunx playwright install-deps
42+
run: bunx --bun playwright install-deps
4343

4444
- name: Prepare environment
4545
run: |

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"scripts": {
1010
"fmt": "oxfmt",
1111
"fmt:check": "oxfmt --check",
12-
"lint": "node ./node_modules/oxlint/bin/oxlint --type-aware --type-check",
13-
"lint:fix": "node ./node_modules/oxlint/bin/oxlint --type-aware --type-check --fix",
14-
"lint:ci": "node ./node_modules/oxlint/bin/oxlint --type-aware --type-check --deny-warnings",
15-
"check": "node ./node_modules/oxlint/bin/oxlint --type-aware --type-check && oxfmt --check",
12+
"lint": "bunx --bun oxlint --type-aware --type-check",
13+
"lint:fix": "bunx --bun oxlint --type-aware --type-check --fix",
14+
"lint:ci": "bunx --bun oxlint --type-aware --type-check --deny-warnings",
15+
"check": "bunx --bun oxlint --type-aware --type-check && oxfmt --check",
1616
"dev": "NODE_ENV=development portless --tailscale run bunx --bun vite",
1717
"dev:desktop": "bun run --cwd apps/desktop start",
1818
"build": "bunx --bun vite build",
@@ -33,9 +33,9 @@
3333
"test:server": "dotenv -e .env.test -- bunx --bun vitest run --project server",
3434
"test:client": "dotenv -e .env.test -- bunx --bun vitest run --project client",
3535
"test": "dotenv -e .env.test -- bunx --bun vitest run && vp run -F './apps/*' -F './packages/*' test",
36-
"test:e2e": "NODE_ENV=test dotenv -e .env.local -- playwright test",
37-
"test:e2e:ui": "NODE_ENV=test dotenv -e .env.local -- playwright test --ui",
38-
"test:codegen": "playwright codegen localhost:4096"
36+
"test:e2e": "NODE_ENV=test dotenv -e .env.local -- bunx --bun playwright test",
37+
"test:e2e:ui": "NODE_ENV=test dotenv -e .env.local -- bunx --bun playwright test --ui",
38+
"test:codegen": "bunx --bun playwright codegen localhost:4096"
3939
},
4040
"dependencies": {
4141
"@better-auth/api-key": "1.6.27",

0 commit comments

Comments
 (0)