Skip to content

Commit 7fa1adc

Browse files
committed
ci: remove forced corepack installation
1 parent ba0b641 commit 7fa1adc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1616
with:
1717
fetch-depth: 0
18-
- run: npm i -g --force corepack && corepack enable
18+
- run: corepack enable
1919
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2020
with:
2121
node-version: lts/*

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
fetch-depth: 0
21-
- run: npm i -g --force corepack && corepack enable
21+
- run: corepack enable
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: lts/*

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2323
with:
2424
fetch-depth: 0
25-
- run: npm i -g --force corepack && corepack enable
25+
- run: corepack enable
2626
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2727
with:
2828
node-version: lts/*

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1616
with:
1717
fetch-depth: 0
18-
- run: npm i -g --force corepack && corepack enable
18+
- run: corepack enable
1919
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2020
with:
2121
node-version: lts/*
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4343
with:
4444
fetch-depth: 0
45-
- run: npm i -g --force corepack && corepack enable
45+
- run: corepack enable
4646
- uses: actions/setup-node@v4
4747
with:
4848
node-version: 20
@@ -78,7 +78,7 @@ jobs:
7878
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7979
with:
8080
fetch-depth: 0
81-
- run: npm i -g --force corepack && corepack enable
81+
- run: corepack enable
8282
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8383
with:
8484
node-version: lts/*

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
with:
2626
fetch-depth: 0
27-
- run: npm i -g --force corepack && corepack enable
27+
- run: corepack enable
2828
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
3030
node-version: lts/*

.github/workflows/size.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121
with:
2222
ref: ${{ github.event.pull_request.head.sha }}
23-
- run: npm i -g --force corepack && corepack enable
23+
- run: corepack enable
2424
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2525
with:
2626
node-version: lts/*
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5050
with:
5151
ref: ${{ github.base_ref }}
52-
- run: npm i -g --force corepack && corepack enable
52+
- run: corepack enable
5353
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5454
with:
5555
node-version: lts/*

0 commit comments

Comments
 (0)