Skip to content

Commit

Permalink
fix: gh page build
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelramos committed Mar 24, 2022
1 parent 0442e9a commit a8b0b58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-trees-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@websublime/schema': patch
---

GH build fix
3 changes: 2 additions & 1 deletion .github/workflows/publish-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: npm ci, build and test
- name: npm ci, build
run: |
yarn
yarn build
yarn docs:build
- name: deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"scripts": {
"docs:dev": "vitepress dev docs",
"docs:build": "yarn docs && vitepress build docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"docs": "api-documenter markdown --input-folder dist --output-folder docs/api",
"build": "yarn types && node scripts/build.js && yarn docs",
Expand Down

0 comments on commit a8b0b58

Please sign in to comment.