Skip to content

Commit e51f29c

Browse files
committed
Fix yarn
1 parent 64f937c commit e51f29c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/deploy.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ concurrency:
1313

1414
env:
1515
YARN_IGNORE_NODE: 1
16+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
1617

1718
jobs:
1819
deploy:
@@ -25,7 +26,10 @@ jobs:
2526
with:
2627
node-version: 16
2728

28-
- run: yarn set version 3.6.1
29+
- uses: threeal/[email protected]
30+
with:
31+
version: 3.6.1
32+
cache: false
2933

3034
- uses: actions/cache@v4
3135
with:

.github/workflows/preview.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ concurrency:
99

1010
env:
1111
YARN_IGNORE_NODE: 1
12+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
1213

1314
jobs:
1415
deploy:
@@ -20,8 +21,12 @@ jobs:
2021
- uses: actions/setup-node@v4
2122
with:
2223
node-version: 16
24+
cache: yarn
2325

24-
- run: yarn set version 3.6.1
26+
- uses: threeal/[email protected]
27+
with:
28+
version: 3.6.1
29+
cache: false
2530

2631
- uses: actions/cache@v4
2732
with:

0 commit comments

Comments
 (0)