ci: per-job pnpm install dir to fix the host-runner setup-pnpm race #23
@@ -53,6 +53,11 @@ jobs:
|
|||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 11.0.7
|
version: 11.0.7
|
||||||
|
# Install pnpm into a per-job directory so concurrent jobs on
|
||||||
|
# the shared host runner do not race on the default
|
||||||
|
# `~/setup-pnpm` (the self-installer otherwise fails with
|
||||||
|
# `ENOTEMPTY` while cleaning a sibling job's install).
|
||||||
|
dest: ${{ runner.temp }}/setup-pnpm
|
||||||
|
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ jobs:
|
|||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 11.0.7
|
version: 11.0.7
|
||||||
|
# Install pnpm into a per-job directory so concurrent jobs on
|
||||||
|
# the shared host runner do not race on the default
|
||||||
|
# `~/setup-pnpm` (the self-installer otherwise fails with
|
||||||
|
# `ENOTEMPTY` while cleaning a sibling job's install).
|
||||||
|
dest: ${{ runner.temp }}/setup-pnpm
|
||||||
|
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -44,6 +44,11 @@ jobs:
|
|||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 11.0.7
|
version: 11.0.7
|
||||||
|
# Install pnpm into a per-job directory so concurrent jobs on
|
||||||
|
# the shared host runner do not race on the default
|
||||||
|
# `~/setup-pnpm` (the self-installer otherwise fails with
|
||||||
|
# `ENOTEMPTY` while cleaning a sibling job's install).
|
||||||
|
dest: ${{ runner.temp }}/setup-pnpm
|
||||||
|
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user