You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -33,20 +33,20 @@ jobs:
33
33
os: [ubuntu-latest]
34
34
steps:
35
35
- uses: actions/checkout@v5
36
-
- uses: actions/setup-node@v4
36
+
- uses: actions/setup-node@v5
37
37
with:
38
38
node-version: ${{ matrix.node }}
39
+
package-manager-cache: false # pnpm is not installed yet
39
40
- name: install pnpm
40
41
shell: bash
41
42
run: |
42
43
PNPM_VER=$(jq -r '.packageManager | if .[0:5] == "pnpm@" then .[5:] else "packageManager in package.json does not start with pnpm@\n" | halt_error(1) end' package.json)
43
44
echo installing pnpm version $PNPM_VER
44
45
npm i -g pnpm@$PNPM_VER
45
-
- uses: actions/setup-node@v4
46
+
- uses: actions/setup-node@v5
46
47
with:
47
48
node-version: ${{ matrix.node }}
48
-
cache: 'pnpm'
49
-
cache-dependency-path: '**/pnpm-lock.yaml'
49
+
package-manager-cache: true # caches pnpm via packageManager field in package.json
package-manager-cache: false # pnpm is not installed yet
107
109
- name: install pnpm
108
110
shell: bash
109
111
run: |
110
112
PNPM_VER=$(jq -r '.packageManager | if .[0:5] == "pnpm@" then .[5:] else "packageManager in package.json does not start with pnpm@\n" | halt_error(1) end' package.json)
111
113
echo installing pnpm version $PNPM_VER
112
114
npm i -g pnpm@$PNPM_VER
113
-
- uses: actions/setup-node@v4
115
+
- uses: actions/setup-node@v5
114
116
with:
115
117
node-version: ${{ matrix.node }}
116
-
cache: 'pnpm'
117
-
cache-dependency-path: '**/pnpm-lock.yaml'
118
+
package-manager-cache: true # caches pnpm via packageManager field in package.json
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -27,20 +27,20 @@ jobs:
27
27
with:
28
28
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
29
29
fetch-depth: 0
30
-
- uses: actions/setup-node@v4
30
+
- uses: actions/setup-node@v5
31
31
with:
32
32
node-version: ${{ matrix.node }}
33
+
package-manager-cache: false # pnpm is not installed yet
33
34
- name: install pnpm
34
35
shell: bash
35
36
run: |
36
37
PNPM_VER=$(jq -r '.packageManager | if .[0:5] == "pnpm@" then .[5:] else "packageManager in package.json does not start with pnpm@\n" | halt_error(1) end' package.json)
37
38
echo installing pnpm version $PNPM_VER
38
39
npm i -g pnpm@$PNPM_VER
39
-
- uses: actions/setup-node@v4
40
+
- uses: actions/setup-node@v5
40
41
with:
41
42
node-version: ${{ matrix.node }}
42
-
cache: 'pnpm'
43
-
cache-dependency-path: '**/pnpm-lock.yaml'
43
+
package-manager-cache: true # caches pnpm via packageManager field in package.json
0 commit comments