diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index bb6d2b4..a8893af 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -4,7 +4,6 @@ on: push: branches: - main # default branch - jobs: pages: runs-on: ubuntu-latest @@ -21,10 +20,11 @@ jobs: key: ${{ runner.OS }}-npm-cache restore-keys: | ${{ runner.OS }}-npm-cache - - name: Install bun - run: npm i -G bun - name: Install Dependencies - run: bun install + uses: oven-sh/setup-bun@v1 # Setup bun + with: + bun-version: latest + - run: bun install - name: Build run: npm run build - name: Deploy @@ -32,4 +32,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public - publish_branch: gh-pages # deploying branch \ No newline at end of file + publish_branch: gh-pages # deploying branch