2021-04-05 07:35:00 +03:00
|
|
|
name: Release
|
2021-03-26 23:26:40 +03:00
|
|
|
on:
|
2021-03-26 23:29:47 +03:00
|
|
|
push:
|
2021-03-26 23:26:40 +03:00
|
|
|
branches-ignore:
|
|
|
|
- 'main'
|
2021-09-17 04:20:07 +03:00
|
|
|
- 'changeset-release/**'
|
2021-03-27 02:05:04 +03:00
|
|
|
# Don't release canary when these paths change
|
|
|
|
# It's not necessary because we don't ship them and it creates noise
|
2021-03-27 01:59:23 +03:00
|
|
|
paths-ignore:
|
2021-03-27 02:01:29 +03:00
|
|
|
- '.changeset/**'
|
2021-03-27 02:05:04 +03:00
|
|
|
- 'docs/**'
|
|
|
|
- 'lib/**'
|
2021-03-30 08:10:17 +03:00
|
|
|
- '__tests__/**'
|
2021-03-27 02:05:04 +03:00
|
|
|
- 'script/**'
|
2021-03-29 22:07:44 +03:00
|
|
|
- 'next.config.js'
|
|
|
|
- 'now.json'
|
2021-03-26 23:26:40 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
release-canary:
|
2021-04-05 07:35:00 +03:00
|
|
|
name: Canary
|
2024-06-21 19:25:12 +03:00
|
|
|
uses: primer/.github/.github/workflows/release_canary.yml@v2.1.1
|
2021-12-06 20:37:20 +03:00
|
|
|
with:
|
2023-07-14 02:40:26 +03:00
|
|
|
install: npm ci
|
2021-12-06 20:37:20 +03:00
|
|
|
secrets:
|
2021-12-14 21:15:53 +03:00
|
|
|
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
2021-12-06 20:37:20 +03:00
|
|
|
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
|