Skip to content

Commit 0ac2eaf

Browse files
committed
bumb pnpm version
1 parent 526859d commit 0ac2eaf

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/release.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,26 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16-
- name: Update version
17-
uses: jossef/action-set-json-field@v2
18-
with:
19-
file: package.json
20-
field: version
21-
value: ${{ github.event.release.tag_name }}
22-
23-
- uses: actions/setup-node@v4
24-
25-
- uses: pnpm/action-setup@v2
16+
- uses: pnpm/action-setup@v4
2617
with:
27-
version: 8.11.0
2818
run_install: |
2919
- recursive: true
3020
args: [--frozen-lockfile, --strict-peer-dependencies]
3121
env:
3222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3323

24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: 18
27+
cache: pnpm
28+
29+
- name: Update version
30+
uses: jossef/action-set-json-field@v2
31+
with:
32+
file: package.json
33+
field: version
34+
value: ${{ github.event.release.tag_name }}
35+
3436
- run: pnpm run build
3537
- run: npm publish
3638
env:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dist"
1313
],
1414
"type": "module",
15-
"packageManager": "pnpm@7.9.5",
15+
"packageManager": "pnpm@9.9.0",
1616
"scripts": {
1717
"build": "tsc",
1818
"cli": "node dist/cli",

0 commit comments

Comments
 (0)