diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index f528ce7..deccf35 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -31,33 +31,17 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Setup Bun - uses: oven-sh/setup-bun@v1 - - - name: Cache Bun dependencies - uses: actions/cache@v3 - with: - path: ~/.bun/install/cache - key: ${{ runner.os }}-bun-${{ hashFiles('**/package.json') }}-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-bun-${{ hashFiles('**/package.json') }}- - ${{ runner.os }}-bun- - + - uses: oven-sh/setup-bun@v2 - name: Setup Pages uses: actions/configure-pages@v3 - - name: Install dependencies run: bun install - - name: Run tests run: bun run test - - name: Build with VitePress run: | bun run docs:build touch docs/.vitepress/dist/.nojekyll - - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: