Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT


- name: Set node
uses: actions/setup-node@v3
Expand All @@ -36,7 +35,10 @@ jobs:
run: pnpm i

- name: Lint
run: pnpm run lint
run: pnpm lint

- name: Test
run: pnpm test

build:
needs: lint
Expand All @@ -57,7 +59,6 @@ jobs:
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT


- name: Set node
uses: actions/setup-node@v3
Expand All @@ -70,3 +71,9 @@ jobs:

- name: Build
run: pnpm docs:build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist