Skip to content

Commit

Permalink
fix: release node version (#107)
Browse files Browse the repository at this point in the history
* fix: release node version

* ci: allow release manual triger
  • Loading branch information
winchesHe authored Nov 5, 2024
1 parent a634053 commit a772ea3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ on:
tags:
- 'v*'
branches: [main]
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- name: Set node
uses: actions/setup-node@v4
with:
check-latest: true
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org/
node-version: lts/*

- run: npx changelogithub
env:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@
"typescript": "5.2.2"
},
"engines": {
"pnpm": ">=9.x",
"node": ">=18.17.x"
"pnpm": ">=9.x"
},
"packageManager": "pnpm@9.6.0"
}

0 comments on commit a772ea3

Please sign in to comment.