File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1818 git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
1919 - run : npm install
2020 - run : npm run build
21+ - run : npm install release-it
2122 - run : echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
22- - run : npm publish --access=public
23+ - run : npm run release -- minor --ci
24+ # - run: npm publish --access=public
2325 env :
2426 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2527 NPM_TOKEN : ${{ secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 1+ {
2+ "npm" : {
3+ "publish" : true
4+ },
5+ "git" : {
6+ "changelog" : " npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs" ,
7+ "tagName" : " ${version}" ,
8+ "commitMessage" : " Automated release ${version}" ,
9+ "requireBranch" : " main" ,
10+ "requireCleanWorkingDir" : false ,
11+ "git.requireCommits" : true
12+ },
13+ "github" : {
14+ "release" : true ,
15+ "releaseName" : " ${version}" ,
16+ "releaseNotes" : " npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
17+ },
18+
19+ "hooks" : {
20+ "after:bump" : " npx auto-changelog --commit-limit false -p"
21+ }
22+ }
Original file line number Diff line number Diff line change 1515 "clean" : " rimraf dist" ,
1616 "test" : " echo \" Error: no test specified\" && exit 1" ,
1717 "storybook" : " start-storybook -p 6006" ,
18- "build-storybook" : " build-storybook"
18+ "build-storybook" : " build-storybook" ,
19+ "release" : " release-it"
1920 },
2021 "keywords" : [
2122 " ionic" ,
You can’t perform that action at this time.
0 commit comments