Skip to content

Commit

Permalink
Auto pre-release for next branch (#147)
Browse files Browse the repository at this point in the history
* Adds github job to prerelease next on push

* Adds code analysis workflow

* Fix typo

* Adds scaffold to PR workflow

* Install deps if no cache hit

* enable code analysis on next branch PR

* Update prerelease scripts

* Remove wrong branch check

* Fix typo

* Refactor next flow to use simple publish
  • Loading branch information
matdru authored and prevwong committed Dec 4, 2020
1 parent 8e858a9 commit 712e750
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ jobs:
run: yarn lerna:prerelease

- name: Publish
run: yarn release
run: yarn lerna:publish
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
"release": "run-s lint clean build test release:npm",
"release:npm": "./scripts/release.sh",
"publish:beta": "lerna version prerelease --preid beta --force-publish --yes",
"lerna:version": "lerna version --conventional-commits --yes",
"lerna:prerelease": "yarn lerna:version --conventional-prerelease --yes",
"test": "jest",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"scaffold": "lerna clean --yes && yarn run lerna:bootstrap",
"lerna:link": "lerna link",
"lerna:bootstrap": "lerna bootstrap"
"lerna:bootstrap": "lerna bootstrap",
"lerna:version": "lerna version --conventional-commits --yes",
"lerna:prerelease": "yarn lerna:version --conventional-prerelease --yes",
"lerna:publish": "lerna publish from-git --yes"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
Expand Down

0 comments on commit 712e750

Please sign in to comment.