From 7d470e838e60c812d7580b03636b64ad188b73d8 Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Mon, 9 Oct 2023 20:16:42 +0900 Subject: [PATCH] Bun --- .github/workflows/deploy.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f22b2c6..aa3ce1c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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/std@0.188.0/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