File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 55 types :
66 - published
77
8+ permissions :
9+ id-token : write
10+ contents : read
11+
812jobs :
913 release :
1014 name : Release
1721 run : echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1822
1923 - name : Setup Node
20- uses : actions/setup-node@v2
24+ uses : actions/setup-node@v4
2125 with :
22- node-version : 18
26+ node-version : 24
27+ registry-url : https://registry.npmjs.org
2328
2429 - name : Set package version
2530 run : echo $(jq --arg v "${{ env.VERSION }}" '(.version) = $v' package.json) > package.json
@@ -35,13 +40,10 @@ jobs:
3540 - name : Build
3641 run : bun run build
3742
38- - name : Add npm token
39- run : echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
40-
4143 - name : Publish release candidate
4244 if : " github.event.release.prerelease"
43- run : npm publish --access public --tag=canary
45+ run : npm publish --access public --tag=canary --provenance
4446
4547 - name : Publish
4648 if : " !github.event.release.prerelease"
47- run : npm publish --access public
49+ run : npm publish --access public --provenance
Original file line number Diff line number Diff line change 88 "publishConfig" : {
99 "access" : " public"
1010 },
11+ "repository" : {
12+ "type" : " git" ,
13+ "url" : " git@github.com:upstash/react-redis-browser.git"
14+ },
1115 "bugs" : {
1216 "url" : " https://github.com/upstash/react-redis-browser/issues"
1317 },
You can’t perform that action at this time.
0 commit comments