Skip to content

Commit 72be847

Browse files
Copilotint128
andauthored
Update actions/setup-node to v5.0.0 with package-manager-cache disabled (#1233)
* Initial plan * Update actions/setup-node to v5.0.0 and add package-manager-cache: false Co-authored-by: int128 <321266+int128@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: int128 <321266+int128@users.noreply.github.com>
1 parent cb71c0c commit 72be847

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
contents: write
1919
steps:
2020
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
21+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2222
with:
2323
node-version-file: .node-version
24+
package-manager-cache: false
2425
- run: npm install -g pnpm@latest-10
2526
- run: pnpm i
2627
- run: pnpm build

.github/workflows/ts.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
timeout-minutes: 10
2525
steps:
2626
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2828
with:
2929
node-version-file: .node-version
30+
package-manager-cache: false
3031
- run: npm install -g pnpm@latest-10
3132
- run: pnpm i
3233
- run: pnpm run test
@@ -45,9 +46,10 @@ jobs:
4546
pull-requests: write
4647
steps:
4748
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
48-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
49+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
4950
with:
5051
node-version-file: .node-version
52+
package-manager-cache: false
5153
- run: npm install -g pnpm@latest-10
5254
- run: pnpm i
5355
- run: pnpm run check --fix

0 commit comments

Comments
 (0)