-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: ensure canary pipeline can determine correct version
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Publish canary release | |
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "fix-canary-releases" | ||
|
||
jobs: | ||
tag-and-publish-to-npm: | ||
|
@@ -11,7 +11,9 @@ jobs: | |
# Don't run on regular releases | ||
if: "!startsWith(github.event.head_commit.message, 'release: ')" | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
|
@@ -25,9 +27,9 @@ jobs: | |
- name: Run release script | ||
run: yarn release:canary | ||
|
||
- name: Publish all packages | ||
run: ./scripts/publish.sh canary | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# - name: Publish all packages | ||
# run: ./scripts/publish.sh canary | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
timeout-minutes: 10 |