Skip to content

Commit

Permalink
Trigger canary release nightly (#56758)
Browse files Browse the repository at this point in the history
Follow-up to #56755 this updates to trigger at least one canary nightly before we run our E2E deploy tests.
  • Loading branch information
ijjk authored Oct 12, 2023
1 parent e057c26 commit 5004c8c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on:
schedule:
# run every day at 23:15
- cron: '15 23 * * *'

workflow_dispatch:
inputs:
releaseType:
Expand Down Expand Up @@ -38,7 +42,7 @@ jobs:
# canary next-swc binaries in the monorepo
NEXT_SKIP_NATIVE_POSTINSTALL: 1

environment: release-${{ github.event.inputs.releaseType }}
environment: release-${{ github.event.inputs.releaseType || 'canary' }}
steps:
- name: Setup node
uses: actions/setup-node@v3
Expand Down Expand Up @@ -73,6 +77,6 @@ jobs:

- run: pnpm run build

- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType }} --semver-type ${{ github.event.inputs.semverType }}
- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType || 'canary' }} --semver-type ${{ github.event.inputs.semverType }}
env:
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}

0 comments on commit 5004c8c

Please sign in to comment.