diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ad8cba5..58f6580 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,22 +30,16 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # Not needed if lastUpdated is not enabled - - uses: pnpm/action-setup@v2 - with: - version: latest - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm + - uses: jdx/mise-action@v2 - name: Setup Pages uses: actions/configure-pages@v5 - name: Install dependencies - run: pnpm install + run: bun install - name: Build with VitePress run: | - pnpm run docs:build - touch docs/.vitepress/dist/.nojekyll + cd docs + bun run docs:build + touch .vitepress/dist/.nojekyll - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/mise.toml b/mise.toml index 1d9b1df..432d125 100644 --- a/mise.toml +++ b/mise.toml @@ -3,3 +3,6 @@ run = [ "cargo build", "cargo test", ] + +[tools] +bun = "latest"