Skip to content

Commit a8b484c

Browse files
pengjieJayFate
authored andcommitted
chore: cache yarn node_modules
Signed-off-by: pengjie <[email protected]>
1 parent 15965e5 commit a8b484c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818

19-
# - name: Install pnpm
20-
# uses: pnpm/action-setup@v2
21-
2219
- name: Set node version to 16
2320
uses: actions/setup-node@v3
2421
with:
2522
node-version: 16
26-
# cache: 'pnpm'
23+
cache: 'yarn'
2724

2825
- run: npx envinfo --registry https://registry.npmmirror.com/
2926

@@ -43,14 +40,11 @@ jobs:
4340
steps:
4441
- uses: actions/checkout@v3
4542

46-
# - name: Install pnpm
47-
# uses: pnpm/action-setup@v2
48-
4943
- name: Set node version to 16
5044
uses: actions/setup-node@v3
5145
with:
5246
node-version: 16
53-
# cache: 'pnpm'
47+
cache: 'yarn'
5448

5549
- run: npx envinfo --registry https://registry.npmmirror.com/
5650

0 commit comments

Comments
 (0)