diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 19b4611..4ef38cc 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,15 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: "16" + uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - uses: oven-sh/setup-bun@v2 - name: install - run: yarn + run: bun i - name: Deploy with gh-pages run: | git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm run deploy -- -u "github-actions-bot " + bun run deploy -- -u "github-actions-bot " env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}