File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2222 DOCS_DEST_PATH : pages/mcp-server
2323 LEARN_DEST_PATH : src/data/learn/mcp-server
2424 NODE_VERSION : ' 20'
25+ PNPM_VERSION : ' 10' # Or your desired pnpm version
2526
2627jobs :
2728 docs-deploy :
@@ -35,20 +36,28 @@ jobs:
3536 with :
3637 fetch-depth : 1
3738
39+ - name : Install pnpm
40+ uses : pnpm/action-setup@v4
41+ with :
42+ version : ${{ env.PNPM_VERSION }}
43+
3844 - name : Setup Node.js
3945 uses : actions/setup-node@v4
4046 with :
4147 node-version : ${{ env.NODE_VERSION }}
4248 cache : ' pnpm'
4349
50+ - name : Install dependencies
51+ run : pnpm install
52+
4453 - name : Clone docs repository
4554 run : git clone https://x-access-token:${{ secrets.GH_HYPERWEB_PAT }}@github.com/hyperweb-io/docs.hyperweb.io.git external-docs
4655
4756 - name : Sync the docs and build
4857 run : |
4958 rsync -av --delete ./docs/ ./external-docs/${{ env.DOCS_DEST_PATH }}/
5059 cd external-docs
51- yarn install
60+ yarn install # This is for the external-docs repo, which uses yarn
5261 yarn export
5362
5463 - name : Git push
You can’t perform that action at this time.
0 commit comments