File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ name: Publish to npm
22
33on :
44 release :
5- types : [published ]
5+ types : [created ]
66
77jobs :
88 publish :
9- if : github.event.release.draft == false && github.event.release.prerelease == false
109 runs-on : ubuntu-latest
1110 permissions :
1211 contents : read
@@ -16,14 +15,12 @@ jobs:
1615
1716 - uses : actions/setup-node@v4
1817 with :
19- node-version : 22
18+ node-version : 24
2019 registry-url : https://registry.npmjs.org
21- cache : npm
2220
2321 - run : npm ci
2422
2523 - name : Set version from release tag
2624 run : npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
2725
28-
2926 - run : npm publish --provenance --access public
Original file line number Diff line number Diff line change 2727 ],
2828 "author" : " Short.io" ,
2929 "license" : " MIT" ,
30+ "private" : false ,
3031 "repository" : {
3132 "type" : " git" ,
32- "url" : " https://github.com/Short-io/browser-sdk.git"
33+ "url" : " git+ https://github.com/Short-io/browser-sdk.git"
3334 },
35+ "bugs" : {
36+ "url" : " https://github.com/Short-io/browser-sdk/issues"
37+ },
38+ "homepage" : " https://github.com/Short-io/browser-sdk#readme" ,
3439 "devDependencies" : {
3540 "@rollup/plugin-node-resolve" : " ^15.0.0" ,
3641 "@rollup/plugin-typescript" : " ^11.0.0" ,
You can’t perform that action at this time.
0 commit comments