From 7a53570cbc10863368b13656f63ce0575fb43b33 Mon Sep 17 00:00:00 2001 From: fahminlb33 Date: Tue, 15 Oct 2024 11:45:55 +0700 Subject: [PATCH] fix: use bun --- .github/workflows/deploy.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e6e99e2..a21583a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,17 +24,13 @@ jobs: extended: true - name: Setup NodeJS - uses: actions/setup-node@v3 - with: - node-version: 20 + uses: oven-sh/setup-bun@v2 - name: Install dependencies - run: npm ci + run: bun install --frozen-lockfile - name: Build website - run: npm run build - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: bun run build - name: Deploy to Azure uses: Azure/static-web-apps-deploy@v1