From 6b286527bc7a070515b97070e1aa3574cab50fbc Mon Sep 17 00:00:00 2001 From: KartoffelChips Date: Sun, 27 Oct 2024 10:40:53 +0100 Subject: [PATCH] updated bun installation gh actions --- .github/workflows/deploy.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3f7cc35..ea7d47e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,21 +16,16 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 - with: - node-version: '20' - - name: Install Bun - run: | - curl -fsSL https://bun.sh/install | bash - export BUN_INSTALL="$HOME/.bun" - export PATH="$BUN_INSTALL/bin:$PATH" - bun --version + - uses: oven-sh/setup-bun@v1 + with: + bun-version: latest - name: Install dependencies run: bun install - name: Build project - run: bun run build + run: npm run build - name: Upload production-ready build files uses: actions/upload-artifact@v3