Skip to content

Commit be71ce2

Browse files
committed
ci(package.json): restore semantic release for UMD
1 parent bd53f23 commit be71ce2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
- beta
99
- '[0-9]+.x'
1010
- '[0-9]+.[0-9]+.x'
11-
workflow_dispatch:
1211

1312
jobs:
1413
publish:
@@ -29,8 +28,7 @@ jobs:
2928
- name: Setup node
3029
uses: actions/setup-node@v4
3130
with:
32-
node-version: 24
33-
- run: npm update -g npm
31+
node-version: 22
3432
- name: Install dependencies
3533
run: |
3634
npm ci
@@ -55,6 +53,7 @@ jobs:
5553
- name: Release
5654
env:
5755
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
# No need to set NPM_TOKEN because of OIDC
5857
NPM_CONFIG_PROVENANCE: true
5958
run: |
6059
git config --global user.name "Github Actions"

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@
230230
"pkgRoot": "./dist/esm"
231231
}
232232
],
233+
[
234+
"@semantic-release/npm",
235+
{
236+
"pkgRoot": "./dist/umd"
237+
}
238+
],
233239
[
234240
"@semantic-release/github",
235241
{

0 commit comments

Comments
 (0)