chore: replace npm with Bun

This commit is contained in:
Eric Liu 2025-08-06 12:17:28 -07:00
commit 043a60d564
4 changed files with 919 additions and 6017 deletions

View file

@ -19,35 +19,26 @@ jobs:
runs-on: macos-15-xlarge
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci
- run: npm run lint
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run lint
test:
runs-on: macos-15-xlarge
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci
- run: npm run test
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run test
types:
runs-on: macos-15-xlarge
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: "npm"
- run: npm ci
- run: npm run test:src-types
- run: npm run test:types
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun --bun run test:src-types
- run: bun --bun run test:types
deploy-docs:
if: github.ref == 'refs/heads/master'