File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : DotMH Linting Publish Actions
2
+ run-name : " ${{ github.actor }} - ${{ github.workflow }} - ${{ github.run_number }}"
3
+ on :
4
+ - push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ TestAndLint :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : pnpm/action-setup@v3
14
+ with :
15
+ version : " 9"
16
+ - name : Node
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : " 20.14.0"
20
+ cache : " pnpm"
21
+ - run : pnpm install
22
+ - name : publish
23
+ run : pnpm workspace:publish
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @dotmh/linting" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " A Monorepo that shares linting configurations across DotMH projects" ,
5
5
"private" : true ,
6
6
"main" : " index.js" ,
7
7
"type" : " module" ,
8
8
"scripts" : {
9
9
"test" : " echo \" Error: no test specified\" && exit 1" ,
10
- "publish" : " npm publish -ws " ,
10
+ "workspace: publish" : " pnpm publish -r " ,
11
11
"prepare" : " husky" ,
12
12
"lint:commit" : " commitlint --edit" ,
13
13
"githook:commitMessage" : " pnpm lint:commit"
You can’t perform that action at this time.
0 commit comments