Skip to content

Commit 5aa4654

Browse files
committed
ci: get rid of corepack workarounds for wrong signature problem
1 parent e77689b commit 5aa4654

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/run-tests.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,8 @@ jobs:
110110
cache: "npm"
111111
cache-dependency-path: "**/package-lock.json"
112112
- uses: oven-sh/setup-bun@v2
113-
- name: Prefer npm global on windows
114-
if: runner.os == 'Windows'
115-
# On Windows by default PATH prefers corepack bundled with Node.js
116-
# This prepends npm global to PATH to ensure that npm installed global corepack is used instead
117-
run: |
118-
echo "$(npm config get prefix)" >> "$GITHUB_PATH"
119-
shell: bash
120113
- name: setup pnpm/yarn
121114
run: |
122-
npm install -g corepack
123115
corepack enable
124116
shell: bash
125117
- name: Install Deno
@@ -207,17 +199,8 @@ jobs:
207199
node-version: ${{ steps.decide-node-version.outputs.version }}
208200
cache: "npm"
209201
cache-dependency-path: "**/package-lock.json"
210-
- name: Prefer npm global on windows
211-
if: runner.os == 'Windows'
212-
# On Windows by default PATH prefers corepack bundled with Node.js
213-
# This prepends npm global to PATH to ensure that npm installed global corepack is used instead
214-
run: |
215-
echo "$(npm config get prefix)" >> "$GITHUB_PATH"
216-
shell: bash
217202
- name: setup pnpm/yarn
218203
run: |
219-
# global corepack installation requires --force on Windows, otherwise EEXIST errors occur
220-
npm install -g corepack --force
221204
corepack enable
222205
shell: bash
223206
- name: Install Deno
@@ -300,13 +283,6 @@ jobs:
300283
node-version: ${{ steps.decide-node-version.outputs.version }}
301284
cache: "npm"
302285
cache-dependency-path: "**/package-lock.json"
303-
- name: Prefer npm global on windows
304-
if: runner.os == 'Windows'
305-
# On Windows by default PATH prefers corepack bundled with Node.js
306-
# This prepends npm global to PATH to ensure that npm installed global corepack is used instead
307-
run: |
308-
echo "$(npm config get prefix)" >> "$GITHUB_PATH"
309-
shell: bash
310286
- name: setup pnpm/yarn
311287
run: corepack enable
312288
shell: bash

0 commit comments

Comments
 (0)