Skip to content

Commit dbd4ade

Browse files
authored
Merge pull request #9 from codeeshop-oc/codeeshop-oc-patch-2
Update deploy.yml
2 parents 1ca8ba2 + c55fdc2 commit dbd4ade

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
shell: bash
2525
run: |
2626
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
27-
2827
2928
- name: Set node
3029
uses: actions/setup-node@v3
@@ -36,7 +35,10 @@ jobs:
3635
run: pnpm i
3736

3837
- name: Lint
39-
run: pnpm run lint
38+
run: pnpm lint
39+
40+
- name: Test
41+
run: pnpm test
4042

4143
build:
4244
needs: lint
@@ -57,7 +59,6 @@ jobs:
5759
shell: bash
5860
run: |
5961
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
60-
6162
6263
- name: Set node
6364
uses: actions/setup-node@v3
@@ -70,3 +71,9 @@ jobs:
7071

7172
- name: Build
7273
run: pnpm docs:build
74+
75+
- name: Deploy
76+
uses: peaceiris/actions-gh-pages@v3
77+
with:
78+
github_token: ${{ secrets.GITHUB_TOKEN }}
79+
publish_dir: docs/.vitepress/dist

0 commit comments

Comments
 (0)