File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,22 +25,18 @@ jobs:
2525 with :
2626 fetch-depth : 0
2727 token : ${{ secrets.GITHUB_TOKEN }}
28-
2928 - uses : oven-sh/setup-bun@v2
30-
29+ - uses : actions/setup-node@v4
30+ with :
31+ node-version : 20
32+ - run : npm install -g npm@latest
3133 - run : bun install --frozen-lockfile
32-
3334 - name : Configure Git
3435 run : |
3536 git config user.name "${GITHUB_ACTOR}"
3637 git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
37-
38- - name : Configure npm auth
39- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
40-
4138 - name : Release
4239 working-directory : package
4340 run : bun run release --ci --increment ${{ inputs.version }}
4441 env :
4542 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 8383 "tagName" : " v${version}"
8484 },
8585 "npm" : {
86- "publish" : true
86+ "publish" : true ,
87+ "publishArgs" : [" --provenance --access public" ]
8788 },
8889 "github" : {
8990 "release" : true
You can’t perform that action at this time.
0 commit comments