Skip to content

Commit

Permalink
bumb pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Oct 28, 2024
1 parent 526859d commit 0ac2eaf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,26 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Update version
uses: jossef/action-set-json-field@v2
with:
file: package.json
field: version
value: ${{ github.event.release.tag_name }}

- uses: actions/setup-node@v4

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 8.11.0
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Update version
uses: jossef/action-set-json-field@v2
with:
file: package.json
field: version
value: ${{ github.event.release.tag_name }}

- run: pnpm run build
- run: npm publish
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dist"
],
"type": "module",
"packageManager": "pnpm@7.9.5",
"packageManager": "pnpm@9.9.0",
"scripts": {
"build": "tsc",
"cli": "node dist/cli",
Expand Down

0 comments on commit 0ac2eaf

Please sign in to comment.