Skip to content

Commit 6e39356

Browse files
committed
fix lock action
1 parent ee2d3c1 commit 6e39356

File tree

17 files changed

+12
-451
lines changed

17 files changed

+12
-451
lines changed

.github/workflows/lock.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
issue_number: issue.number,
5959
body: `## Issue Locked
6060
61-
This issue has been automatically locked because it has been closed for more than 90 days with no activity.
61+
This issue has been automatically locked because it has been closed for more than 90 days with no activity.
6262
63-
### Have a related problem?
64-
Please [open a new issue](https://github.com/prettier/prettier-vscode/issues/new/choose) with:
65-
- A link to this issue for context
66-
- Your specific problem or question
67-
- A reproduction repository if applicable
63+
### Have a related problem?
64+
Please [open a new issue](https://github.com/prettier/prettier-vscode/issues/new/choose) with:
65+
- A link to this issue for context
66+
- Your specific problem or question
67+
- A reproduction repository if applicable
6868
69-
This helps us track issues properly and ensures your problem gets the attention it needs.`
69+
This helps us track issues properly and ensures your problem gets the attention it needs.`
7070
});
7171
7272
locked++;

scripts/install-fixtures.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ const testFixturesDir = path.join(__dirname, "..", "test-fixtures");
99
*/
1010
function getInstallCommand(packageManager) {
1111
if (!packageManager) {
12-
return "pnpm install --no-frozen-lockfile";
12+
// Use --ignore-workspace to prevent root workspace settings from affecting fixtures
13+
return "pnpm install --ignore-workspace";
1314
}
1415
if (packageManager.startsWith("yarn")) {
1516
return "yarn install";
@@ -18,9 +19,10 @@ function getInstallCommand(packageManager) {
1819
return "npm install";
1920
}
2021
if (packageManager.startsWith("pnpm")) {
21-
return "pnpm install --no-frozen-lockfile";
22+
// Use --ignore-workspace to prevent root workspace settings from affecting fixtures
23+
return "pnpm install --ignore-workspace";
2224
}
23-
return "pnpm install --no-frozen-lockfile";
25+
return "pnpm install --ignore-workspace";
2426
}
2527

2628
/**

test-fixtures/esm-config/pnpm-lock.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

test-fixtures/explicit-dep/implicit-dep/pnpm-lock.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

test-fixtures/explicit-dep/pnpm-lock.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

test-fixtures/module-dep/pnpm-lock.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

test-fixtures/module-plugin-dep/pnpm-lock.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.

test-fixtures/module-plugin/pnpm-lock.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

test-fixtures/module/pnpm-lock.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

test-fixtures/no-dep/pnpm-lock.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)