File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- push :
5- tags : [v* ]
4+ release :
5+ types : [created ]
66
77jobs :
88 build :
3636 steps :
3737 - name : Checkout
3838 uses : actions/checkout@v3
39- with :
40- fetch-depth : 0
4139
4240 - name : Setup PNPM
4341 uses : pnpm/action-setup@v2
@@ -49,11 +47,12 @@ jobs:
4947 with :
5048 node-version : 18
5149 cache : " pnpm"
50+ registry-url : " https://registry.npmjs.org"
5251
5352 - name : Install Dependencies
5453 run : pnpm install --frozen-lockfile
5554
5655 - name : Release binary
57- run : pnpm publish --no-git-checks
56+ run : npm publish
5857 env :
5958 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313
1414var rootCmd = & cobra.Command {
1515 Use : "use-correct-pm" ,
16- Version : "1.0.1 " ,
16+ Version : "1.0.2 " ,
1717 Short : "A simple check of the usage of the correct package manager" ,
1818 Long : `Check if the correct package manager is used.
1919Available are 'NPM', 'Yarn' and 'PNPM'.` ,
Original file line number Diff line number Diff line change 11{
22 "name" : " use-correct-pm" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " A simple check of the usage of the correct package manager." ,
55 "keywords" : [
66 " package-manager" ,
1515 },
1616 "license" : " MIT" ,
1717 "author" :
" Alexander Böhm <[email protected] >" ,
18+ "files" : [
19+ " bin"
20+ ],
1821 "scripts" : {
1922 "postinstall" : " is-ci || go-npm install" ,
2023 "prepare" : " husky install" ,
You can’t perform that action at this time.
0 commit comments