Skip to content

Commit c6f437c

Browse files
ci: workaround corepack issue with actions (#796)
1 parent 81cacec commit c6f437c

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/autofix.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
node-version: lts/*
2222

2323
- name: Install pnpm
24-
run: corepack enable pnpm
24+
# https://github.com/nitrojs/nitro/pull/3060
25+
# https://github.com/nodejs/corepack/pull/614
26+
run: npm i -g --force corepack && corepack enable pnpm
2527

2628
- name: Setup
2729
run: npm i -g @antfu/ni

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
node-version: lts/*
2222

2323
- name: Install pnpm
24-
uses: corepack enable pnpm
24+
# https://github.com/nitrojs/nitro/pull/3060
25+
# https://github.com/nodejs/corepack/pull/614
26+
run: npm i -g --force corepack && corepack enable pnpm
2527

2628
- name: Setup ni
2729
run: npm i -g @antfu/ni

.github/workflows/pkg.pr.new.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020

21-
- run: corepack enable
21+
# https://github.com/nitrojs/nitro/pull/3060
22+
# https://github.com/nodejs/corepack/pull/614
23+
- run: npm i -g --force corepack && corepack enable pnpm
2224

2325
- name: Set node
2426
uses: actions/setup-node@v4

packages/devtools-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@vue/devtools-api",
33
"type": "module",
4-
"sideEffects": false,
54
"version": "7.7.1",
65
"author": "webfansplz",
76
"license": "MIT",
@@ -10,6 +9,7 @@
109
"type": "git",
1110
"url": "git+https://github.com/vuejs/devtools.git"
1211
},
12+
"sideEffects": false,
1313
"exports": {
1414
".": {
1515
"import": "./dist/index.js",

0 commit comments

Comments
 (0)