Skip to content

Commit cd2e163

Browse files
committed
chore: Use single workflow file for releasing
1 parent dca970e commit cd2e163

File tree

2 files changed

+4
-44
lines changed

2 files changed

+4
-44
lines changed

.github/workflows/prerelease.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ main ]
66
types:
77
- completed
8+
push:
9+
branches: [ next, prerelease ]
810

911
# This part sets up the Trusted Publishers for npm via GitHub Actions,
1012
# that's why we don't need to set up the token manually
@@ -22,9 +24,8 @@ jobs:
2224
- uses: actions/checkout@v4
2325
- uses: actions/setup-node@v4
2426
with:
25-
node-version: 22
26-
27-
- run: npm install -g npm@^11.5.1
27+
node-version: '24'
28+
registry-url: 'https://registry.npmjs.org'
2829

2930
- name: Cache dependencies
3031
uses: actions/cache@v4

0 commit comments

Comments
 (0)