Skip to content

Commit

Permalink
🔨 Use Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
homostellaris committed Nov 6, 2024
1 parent 98056f6 commit f687578
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11,897 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run convex:codegen
- run: npm run type-check
- run: npm run lint
- run: npm run build
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run convex:codegen
- run: bun run type-check
- run: bun run lint
- run: bun test
- run: bun run build
env:
CONVEX_DEPLOYMENT: ${{ vars.CONVEX_DEPLOYMENT }}
NEXT_PUBLIC_CONVEX_URL: ${{ vars.NEXT_PUBLIC_CONVEX_URL }}
- run: bun run start &
- uses: cypress-io/github-action@v6
env:
NEXT_PUBLIC_CONVEX_URL: ${{ vars.NEXT_PUBLIC_CONVEX_URL }}
with:
start: npm start
install: false
wait-on: 'http://localhost:6603'
- if: always()
run: kill %1
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
]
},
{
"type": "npm",
"type": "bun",
"label": "convex:dev",
"script": "convex:dev"
},
{
"type": "npm",
"type": "bun",
"label": "next:dev",
"script": "next:dev"
},
{
"type": "npm",
"type": "bun",
"label": "test:dev",
"script": "test:dev",
}
Expand Down
Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit f687578

Please sign in to comment.