diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 44a7c6c..99a2b6f 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ['main'] + branches: ["main"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,7 +17,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: 'pages' + group: "pages" cancel-in-progress: true jobs: @@ -30,22 +30,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Node - uses: actions/setup-node@v3 + - name: Set up bun + uses: oven-sh/setup-bun@1 with: - node-version: 18 - cache: 'npm' + bun-version: latest - name: Install dependencies - run: npm install + run: bun install - name: Build - run: npm run build + run: bun run build - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: # Upload dist repository - path: './dist' + path: "./dist" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2