Skip to content

Commit d8e71d2

Browse files
committed
chore: repair pnpm lockfile and pin prettier 3.9.6
Remove the duplicate @vuepress/helper snapshot that broke --frozen-lockfile, bump prettier to the 3.9.x CI was already resolving under ^3.8.1, freeze installs in workflows, and pin format-docs to the same prettier version. Closes #2036
1 parent 5783375 commit d8e71d2

6 files changed

Lines changed: 15 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
node-version: ${{ matrix.node-version }}
4949
cache: pnpm
5050
- name: pnpm install
51-
run: pnpm install
51+
run: pnpm install --frozen-lockfile
5252
- name: Install exact version of node-red
5353
run: pnpm add -D node-red@${{ matrix.node-red-version }}
5454
- name: pnpm lint
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
cache: pnpm
8686
- name: pnpm install
87-
run: pnpm install
87+
run: pnpm install --frozen-lockfile
8888
- name: Pack
8989
run: pnpm pack
9090
- name: Upload Release Asset

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: 22
2626
cache: pnpm
27-
- run: pnpm install
27+
- run: pnpm install --frozen-lockfile
2828
- run: pnpm docs:build
2929
- name: Deploy
3030
uses: peaceiris/actions-gh-pages@v4

.github/workflows/format-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
if: github.event.pull_request.head.repo.full_name == github.repository
2424
uses: creyD/prettier_action@v4.5
2525
with:
26+
prettier_version: 3.9.6
2627
prettier_options: --write docs/**/*.md
2728
only_changed: True
2829
same_commit: True
@@ -32,5 +33,6 @@ jobs:
3233
uses: creyD/prettier_action@v4.5
3334
with:
3435
# GITHUB_TOKEN cannot push to a fork; check only
36+
prettier_version: 3.9.6
3537
prettier_options: --check docs/**/*.md
3638
only_changed: True

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
node-version: "20"
1818
registry-url: "https://registry.npmjs.org"
1919
- name: Install dependencies and build 🔧
20-
run: pnpm install
20+
run: pnpm install --frozen-lockfile
2121
- name: Publish package on NPM
2222
run: pnpm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"node-red": "^4.1.3",
118118
"node-red-node-test-helper": "^0.3.6",
119119
"postcss": "^8.5.6",
120-
"prettier": "^3.8.1",
120+
"prettier": "^3.9.6",
121121
"sass": "^1.97.3",
122122
"typescript": "^5.9.3",
123123
"vitest": "^4.0.16",

pnpm-lock.yaml

Lines changed: 8 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)