File tree Expand file tree Collapse file tree 7 files changed +8
-3
lines changed Expand file tree Collapse file tree 7 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ jobs:
6565 external_repository : nut-tree/apidoc
6666 publish_dir : ./core/nut.js/docs
6767 - name : Publish tagged release to npm
68- run : npm publish
68+ run : pnpm run publish:release
6969 env :
7070 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7171 - uses : actions/setup-node@v3
7272 with :
7373 registry-url : " https://npm.pkg.github.com"
7474 - name : Publish tagged release to GPR
75- run : npm publish
75+ run : pnpm run publish:release
7676 env :
7777 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 5252 "coverage" : " jest --coverage --runInBand --logHeapUsage" ,
5353 "coverage:clean" : " rimraf coverage" ,
5454 "publish:next" : " pnpm publish --tag next --no-git-checks" ,
55+ "publish:release" : " pnpm publish" ,
5556 "prepublishOnly" : " pnpm run compile" ,
5657 "typedoc" : " typedoc --options ./typedoc.js --entryPointStrategy expand ./lib"
5758 },
Original file line number Diff line number Diff line change 88 "clean" : " rimraf dist" ,
99 "compile" : " pnpm run clean && tsc -p ." ,
1010 "publish:next" : " pnpm publish --tag next --no-git-checks" ,
11+ "publish:release" : " pnpm publish" ,
1112 "prepublishOnly" : " pnpm run compile"
1213 },
1314 "keywords" : [
Original file line number Diff line number Diff line change 1111 "clean" : " rimraf dist" ,
1212 "compile" : " pnpm run clean && tsc -p ." ,
1313 "publish:next" : " pnpm publish --tag next --no-git-checks" ,
14+ "publish:release" : " pnpm publish" ,
1415 "prepublishOnly" : " pnpm run compile"
1516 },
1617 "dependencies" : {
Original file line number Diff line number Diff line change 99 "coverage:clean" : " pnpm -r run coverage:clean" ,
1010 "prepare" : " husky install" ,
1111 "publish:next" : " pnpm -r run publish:next" ,
12- "publish" : " pnpm -r run publish"
12+ "publish:release " : " pnpm -r run publish:release "
1313 },
1414 "packageManager" : " pnpm@8.15.2" ,
1515 "workspaces" : [
Original file line number Diff line number Diff line change 1111 "clean" : " rimraf dist" ,
1212 "compile" : " pnpm run clean && tsc -p ." ,
1313 "publish:next" : " pnpm publish --tag next --no-git-checks" ,
14+ "publish:release" : " pnpm publish" ,
1415 "prepublishOnly" : " pnpm run compile"
1516 },
1617 "keywords" : [
Original file line number Diff line number Diff line change 3434 "coverage" : " jest --coverage --runInBand" ,
3535 "coverage:clean" : " rimraf coverage" ,
3636 "publish:next" : " pnpm publish --tag next --no-git-checks" ,
37+ "publish:release" : " pnpm publish" ,
3738 "prepublishOnly" : " pnpm run compile" ,
3839 "version" : " npm version --no-git-tag -f"
3940 },
You can’t perform that action at this time.
0 commit comments