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
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -27,7 +29,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in new issue
Block a user