File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,18 @@ jobs:
1919 - name : Checkout
2020 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
22+ - name : Enable Corepack
23+ run : corepack enable
24+
2225 - name : Setup Node
2326 uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2427 with :
2528 node-version : 20
2629 registry-url : ' https://registry.npmjs.org'
27-
28- - name : Enable Corepack
29- run : corepack enable
30-
31- - name : Install Yarn
32- run : corepack prepare yarn@stable --activate
30+ cache : yarn
3331
3432 - name : Install dependencies
35- run : yarn install --immutable --immutable-cache
36-
37- - name : Install npm
38- run : npm install -g npm@latest
33+ run : yarn install --immutable
3934
4035 - name : Release
4136 env :
Original file line number Diff line number Diff line change 11.idea /
22dist /
33node_modules /
4+
5+ # Yarn cache and install state (Yarn Berry)
6+ .yarn /cache
7+ .yarn /install-state.gz
8+ .yarn /build-state.yml
9+ .yarn /unplugged
You can’t perform that action at this time.
0 commit comments