Skip to content

Commit c4c0490

Browse files
committed
enable actions/setup-node cache
1 parent 89dd76d commit c4c0490

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/previews-cf.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ env.NODE_VERSION }}
21+
cache: pnpm
2122
- name: Install dependencies
2223
run: pnpm install
2324

@@ -46,6 +47,7 @@ jobs:
4647
uses: actions/setup-node@v4
4748
with:
4849
node-version: ${{ env.NODE_VERSION }}
50+
cache: yarn
4951
- name: Install dependencies
5052
run: yarn install
5153

@@ -59,5 +61,6 @@ jobs:
5961
uses: actions/setup-node@v4
6062
with:
6163
node-version: ${{ env.NODE_VERSION }}
64+
cache: npm
6265
- name: Install dependencies
6366
run: npm install

0 commit comments

Comments
 (0)