Skip to content

Commit 35c1d01

Browse files
authored
ci: enable Node compile cache (#1009)
1 parent 50d7427 commit 35c1d01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ runs:
2020
cache: "pnpm"
2121
registry-url: "https://registry.npmjs.org"
2222

23+
# Enable node compile cache (effective for Node 22+)
24+
# See https://nodejs.org/docs/v24.11.1/api/module.html#module-compile-cache
25+
- name: Enable Node Compile Cache
26+
shell: bash
27+
run: echo "NODE_COMPILE_CACHE=$HOME/.node_compile_cache" >> $GITHUB_ENV
28+
2329
- name: Install NPM Dependencies
2430
shell: bash
2531
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)