build: configure semantic release for main branch

This commit is contained in:
Samuel Attard
2022-10-18 16:08:05 -07:00
parent 691e4ef31d
commit 64cbc83faf
2 changed files with 4 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ jobs:
- checkout
- *step-restore-cache
- run: yarn --frozen-lockfile
- run: npx @continuous-auth/circleci-oidc-github-auth@1.0.5
- run: npx semantic-release
workflows:
version: 2
@@ -43,4 +44,5 @@ workflows:
branches:
only:
- main
context: cfa-release

View File

@@ -4,6 +4,7 @@
"@semantic-release/release-notes-generator",
"@continuous-auth/semantic-release-npm",
"@semantic-release/github"
]
],
"branches": [ "main" ]
}