File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - uses : actions/setup-go@v5
1818 with :
1919 go-version : 1.25.5
20+ - run : npm install -g npm@latest
2021 - uses : ./.github/actions/build-release-notes
2122 - uses : actions/setup-node@v4
2223 with :
@@ -144,4 +145,5 @@ jobs:
144145 - name : Publish
145146 run : task publish-npm-package VERSION=${GITHUB_REF##*/v}
146147 env :
147- CGO_ENABLED : 0
148+ CGO_ENABLED : 0
149+ NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 4747 dir : npm
4848 cmds :
4949 - npm version {{.VERSION}}
50- - npm publish
50+ - npm publish --provenance
5151 npm-build-windows :
5252 cmds :
5353 - go build -o ./npm/dist/mokapi-windows-amd64/mokapi.exe -ldflags="-X mokapi/version.BuildVersion={{.VERSION}}" ./cmd/mokapi
Original file line number Diff line number Diff line change 55 "homepage" : " https://mokapi.io" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/marle3003/mokapi.git"
8+ "url" : " git+ https://github.com/marle3003/mokapi.git"
99 },
1010 "bin" : {
1111 "mokapi" : " bin/mokapi.js"
You can’t perform that action at this time.
0 commit comments