Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ragokan committed Sep 25, 2024
1 parent a324515 commit ed43506
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ed43506

Please sign in to comment.