mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
Merge pull request #1872 from Rocket-Quack/fix/docs-pipeline-1
ci(docs): switch pages workflow to corepack-managed pnpm
This commit is contained in:
commit
159eb8231f
1 changed files with 13 additions and 7 deletions
20
.github/workflows/publish_docs.yml
vendored
20
.github/workflows/publish_docs.yml
vendored
|
|
@ -32,17 +32,23 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: "pnpm"
|
||||
cache-dependency-path: ./docs
|
||||
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: Activate pnpm
|
||||
run: corepack prepare pnpm@10.28.2 --activate
|
||||
|
||||
- name: Show tool versions
|
||||
run: |
|
||||
node --version
|
||||
corepack --version
|
||||
pnpm --version
|
||||
which pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i --frozen-lockfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue