ci: auto-trigger release on main push and bump Node to 22
- Added push trigger on main branch for automatic releases - Bumped Node.js from 20 to 22 (semantic-release requires ^22.14.0)
This commit is contained in:
1 parent
cca8bdf68f
commit
df7ecfe290
1 file changed
+3
-1
@@ -1,6 +1,8 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -27,7 +29,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in new issue
Block a user