Add .circleci/config.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
- 'changeset-release/**' | |
# Don't release canary when these paths change | |
# It's not necessary because we don't ship them and it creates noise | |
paths-ignore: | |
- '.changeset/**' | |
- 'docs/**' | |
- 'lib/**' | |
- '__tests__/**' | |
- 'script/**' | |
- 'next.config.js' | |
- 'now.json' | |
jobs: | |
release-canary: | |
name: Canary | |
uses: primer/.github/.github/workflows/release_canary.yml@main | |
with: | |
install: npm ci | |
secrets: | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }} |