Skip to content

Commit

Permalink
change(generate-docs action): specify pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
enzonotario committed Oct 3, 2024
1 parent 971ef98 commit 0d2bf29
Show file tree
Hide file tree
Showing 3 changed files with 1,939 additions and 2,071 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
node-version: 18

- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
version: 4
run_install: false
version: 9.8.0

- name: Install dependencies
run: pnpm install

- name: Run gen
- name: Run docs:gen
run: pnpm run docs:gen

- name: Commit and push if changes
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"tailwindcss": "^3.4.6",
"vitepress": "^1.3.1",
"vitepress-theme-openapi": "^0.0.3-alpha.33"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 0d2bf29

Please sign in to comment.