Skip to content

Commit

Permalink
Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Oct 9, 2023
1 parent d6bcd5a commit 7d470e8
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,16 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Build step
run: "npm install && npm run build" # 📝 Update the build command(s) if necessary
- name: Setup Bun
uses: oven-sh/setup-bun@v1

- name: Install deps
run: bun i
- name: Build
run: bun run build
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "epic-zebra-83"
entrypoint: "https://deno.land/[email protected]/http/file_server.ts" # 📝 Update the entrypoint if necessary
entrypoint: "server/entry.mjs" # 📝 Update the entrypoint if necessary
root: "dist" # 📝 Update the root if necessary

0 comments on commit 7d470e8

Please sign in to comment.