Skip to content

Commit 42ace35

Browse files
committed
attempt fix for npm publish error
1 parent 0ab29b9 commit 42ace35

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/cache.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ jobs:
2323
name: Generate yarn cache
2424
runs-on: ubuntu-latest
2525
env:
26-
YARN_IGNORE_PATH: 1
2726
YARN_NPM_MINIMAL_AGE_GATE: 10080
2827
steps:
2928
- uses: actions/checkout@v4
3029
- uses: actions/setup-node@v4
3130
with:
3231
node-version: '24.11.0'
3332
- run: corepack enable
33+
- name: Remove yarnPath to use corepack's Yarn 4.12.0
34+
run: sed -i '/^yarnPath:/d' .yarnrc.yml
3435
- uses: actions/cache@v4
3536
with:
3637
path: |

.github/workflows/npm-publish-sites.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
- dirs
2727
runs-on: ubuntu-latest
2828
env:
29-
YARN_IGNORE_PATH: 1
3029
YARN_NPM_MINIMAL_AGE_GATE: 10080
3130
permissions:
3231
contents: read
@@ -40,6 +39,8 @@ jobs:
4039
with:
4140
node-version: '24.11.0'
4241
- run: corepack enable
42+
- name: Remove yarnPath to use corepack's Yarn 4.12.0
43+
run: sed -i '/^yarnPath:/d' .yarnrc.yml
4344
- uses: actions/cache@v4
4445
with:
4546
path: |
@@ -79,14 +80,15 @@ jobs:
7980
name: Generate test reports
8081
runs-on: ubuntu-latest
8182
env:
82-
YARN_IGNORE_PATH: 1
8383
YARN_NPM_MINIMAL_AGE_GATE: 10080
8484
steps:
8585
- uses: actions/checkout@v4
8686
- uses: actions/setup-node@v4
8787
with:
8888
node-version: '24.11.0'
8989
- run: corepack enable
90+
- name: Remove yarnPath to use corepack's Yarn 4.12.0
91+
run: sed -i '/^yarnPath:/d' .yarnrc.yml
9092
- uses: actions/cache@v4
9193
with:
9294
path: |

.github/workflows/pr-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
main:
1212
runs-on: ubuntu-latest
1313
env:
14-
YARN_IGNORE_PATH: 1
1514
YARN_NPM_MINIMAL_AGE_GATE: 10080
1615
steps:
1716
- uses: actions/checkout@v4
@@ -21,6 +20,8 @@ jobs:
2120
with:
2221
node-version: '24.11.0'
2322
- run: corepack enable
23+
- name: Remove yarnPath to use corepack's Yarn 4.12.0
24+
run: sed -i '/^yarnPath:/d' .yarnrc.yml
2425
- uses: actions/cache@v4
2526
with:
2627
path: |

0 commit comments

Comments
 (0)