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:
65
65
external_repository : nut-tree/apidoc
66
66
publish_dir : ./core/nut.js/docs
67
67
- name : Publish tagged release to npm
68
- run : npm publish
68
+ run : pnpm run publish:release
69
69
env :
70
70
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
71
71
- uses : actions/setup-node@v3
72
72
with :
73
73
registry-url : " https://npm.pkg.github.com"
74
74
- name : Publish tagged release to GPR
75
- run : npm publish
75
+ run : pnpm run publish:release
76
76
env :
77
77
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 52
52
"coverage" : " jest --coverage --runInBand --logHeapUsage" ,
53
53
"coverage:clean" : " rimraf coverage" ,
54
54
"publish:next" : " pnpm publish --tag next --no-git-checks" ,
55
+ "publish:release" : " pnpm publish" ,
55
56
"prepublishOnly" : " pnpm run compile" ,
56
57
"typedoc" : " typedoc --options ./typedoc.js --entryPointStrategy expand ./lib"
57
58
},
Original file line number Diff line number Diff line change 8
8
"clean" : " rimraf dist" ,
9
9
"compile" : " pnpm run clean && tsc -p ." ,
10
10
"publish:next" : " pnpm publish --tag next --no-git-checks" ,
11
+ "publish:release" : " pnpm publish" ,
11
12
"prepublishOnly" : " pnpm run compile"
12
13
},
13
14
"keywords" : [
Original file line number Diff line number Diff line change 11
11
"clean" : " rimraf dist" ,
12
12
"compile" : " pnpm run clean && tsc -p ." ,
13
13
"publish:next" : " pnpm publish --tag next --no-git-checks" ,
14
+ "publish:release" : " pnpm publish" ,
14
15
"prepublishOnly" : " pnpm run compile"
15
16
},
16
17
"dependencies" : {
Original file line number Diff line number Diff line change 9
9
"coverage:clean" : " pnpm -r run coverage:clean" ,
10
10
"prepare" : " husky install" ,
11
11
"publish:next" : " pnpm -r run publish:next" ,
12
- "publish" : " pnpm -r run publish"
12
+ "publish:release " : " pnpm -r run publish:release "
13
13
},
14
14
"packageManager" :
" [email protected] " ,
15
15
"workspaces" : [
Original file line number Diff line number Diff line change 11
11
"clean" : " rimraf dist" ,
12
12
"compile" : " pnpm run clean && tsc -p ." ,
13
13
"publish:next" : " pnpm publish --tag next --no-git-checks" ,
14
+ "publish:release" : " pnpm publish" ,
14
15
"prepublishOnly" : " pnpm run compile"
15
16
},
16
17
"keywords" : [
Original file line number Diff line number Diff line change 34
34
"coverage" : " jest --coverage --runInBand" ,
35
35
"coverage:clean" : " rimraf coverage" ,
36
36
"publish:next" : " pnpm publish --tag next --no-git-checks" ,
37
+ "publish:release" : " pnpm publish" ,
37
38
"prepublishOnly" : " pnpm run compile" ,
38
39
"version" : " npm version --no-git-tag -f"
39
40
},
You can’t perform that action at this time.
0 commit comments