From cd7f487b53e206be1ece7e3efbdf6db2511afdb5 Mon Sep 17 00:00:00 2001 From: Chad Freeman Date: Sat, 17 Aug 2024 14:26:41 -0400 Subject: [PATCH] use bun --- .github/workflows/deploy.yml | 9 ++++----- package.json | 8 +++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb0cb1c..b08f541 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,16 +23,15 @@ jobs: with: deno-version: v1.x - - name: Install Node.js - uses: actions/setup-node@v4 + - uses: oven-sh/setup-bun@v2 with: - node-version: lts/* + bun-version: latest - name: Install step - run: 'npm install' + run: 'bun install' - name: Build step - run: 'npm run build' + run: 'bun build' - name: Upload to Deno Deploy uses: denoland/deployctl@v1 diff --git a/package.json b/package.json index 84bceee..79b748b 100644 --- a/package.json +++ b/package.json @@ -35,13 +35,11 @@ "tailwindcss": "^3.4.10", "typescript": "^5.0.0", "vite": "^5.0.3", - "zod": "^3.23.8" + "zod": "^3.23.8", + "@petamoriken/float16": "^3.8.7" }, "type": "module", "trustedDependencies": [ "svelte-preprocess" - ], - "dependencies": { - "@petamoriken/float16": "^3.8.7" - } + ] }