File tree 4 files changed +26
-1
lines changed
4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : release-please
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ release-please :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : GoogleCloudPlatform/release-please-action@v2
11
+ with :
12
+ token : ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
13
+ release-type : node
14
+ package-name : ' @netlify/plugin-nextjs'
Original file line number Diff line number Diff line change
1
+ # Releasing
2
+
3
+ 1 . Merge the release PR
4
+ 2 . Run ` npm publish `
Original file line number Diff line number Diff line change
1
+ module . exports = { extends : [ '@commitlint/config-conventional' ] }
Original file line number Diff line number Diff line change 19
19
"cypress:local" : " env CYPRESS_DEPLOY=local cypress run --project ./src --config-file false --config video=false" ,
20
20
"cypress:netlify" : " env CYPRESS_DEPLOY=netlify cypress run --project ./src --config-file false --config video=false" ,
21
21
"cypress:local:testonly" : " env CYPRESS_SKIP_DEPLOY=true npm run cypress:local" ,
22
- "cypress:netlify:testonly" : " env CYPRESS_SKIP_DEPLOY=true npm run cypress:netlify"
22
+ "cypress:netlify:testonly" : " env CYPRESS_SKIP_DEPLOY=true npm run cypress:netlify" ,
23
+ "prepublishOnly" : " run-s prepublishOnly:*" ,
24
+ "prepublishOnly:checkout" : " git checkout main" ,
25
+ "prepublishOnly:pull" : " git pull" ,
26
+ "prepublishOnly:install" : " npm ci" ,
27
+ "prepublishOnly:test" : " npm test"
23
28
},
24
29
"repository" : {
25
30
"type" : " git" ,
70
75
},
71
76
"husky" : {
72
77
"hooks" : {
78
+ "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS" ,
73
79
"pre-commit" : " prettier --check ."
74
80
}
75
81
},
You can’t perform that action at this time.
0 commit comments