Skip to content

Commit

Permalink
chore: prereleases from canary branch
Browse files Browse the repository at this point in the history
  • Loading branch information
colomolo committed Nov 8, 2023
1 parent 34f699e commit bfd3b83
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@ jobs:
github --yes
- run: yarn lerna publish from-git --yes

prerelease:
executor: linux-node
steps:
- checkout
- vault/get-secrets:
template-preset: 'semantic-release'
- yarn_install
- vault/configure-lerna
- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc
- run: yarn build # This should not be needed, but without it it will not contain any files
- run: yarn lerna version --no-private --conventional-commits --conventional-prerelease
- run: yarn lerna publish from-git --yes

workflows:
version: 2
# run on every commit
Expand All @@ -65,6 +78,14 @@ workflows:
context: vault
- unit-tests:
context: vault
- prerelease:
context: vault
filters:
branches:
only: canary
requires:
- lint
- unit-tests
- release:
context: vault
filters:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "independent",
"command": {
"version": {
"allowBranch": "main",
"allowBranch": ["main", "canary"],
"conventionalCommits": true,
"message": "chore(release): updated release notes and package versions [ci skip]",
"ignoreChanges": [
Expand Down

0 comments on commit bfd3b83

Please sign in to comment.