Skip to content

Commit 7ca3920

Browse files
Add --force flag to corepack installation
1 parent da4fd08 commit 7ca3920

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
node-version: '22.x'
1313
registry-url: 'https://registry.npmjs.org'
14-
- run: npm install -g corepack@latest
14+
- run: npm install -g --force corepack@latest
1515
- run: corepack enable
1616
- run: pnpm install --frozen-lockfile
1717
- run: pnpm run lint

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
node-version: '22.x'
1313
registry-url: 'https://registry.npmjs.org'
14-
- run: npm install -g corepack@latest
14+
- run: npm install -g --force corepack@latest
1515
- run: corepack enable
1616
- run: pnpm install --frozen-lockfile
1717
- run: pnpm run build && pnpm publish -r --no-git-checks

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-node@v4
1616
with:
1717
node-version: ${{ matrix.node-version }}
18-
- run: npm install -g corepack@latest
18+
- run: npm install -g --force corepack@latest
1919
- run: corepack enable
2020
- run: pnpm install --frozen-lockfile
2121
- run: pnpm run build

0 commit comments

Comments
 (0)