feat(plasma-rsc): Server components #1146
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: | |
pull_request: | |
branches: | |
- master | |
pull_request_target: | |
branches: | |
- dev | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
authorize: | |
name: Authorize external pull request | |
uses: ./.github/workflows/authorize-external-pr.yml | |
scope: | |
name: Computed changed state | |
needs: [ authorize ] | |
uses: ./.github/workflows/change-detection.yml | |
with: | |
ref: refs/pull/${{github.event.pull_request.number}}/merge | |
secrets: inherit | |
publish: | |
name: Publish canary version | |
needs: [ authorize, scope ] | |
uses: ./.github/workflows/publish-common.yml | |
with: | |
ref: refs/pull/${{github.event.pull_request.number}}/merge | |
upload_assets: ${{ needs.scope.outputs.HAS_ASSETS == 'true' }} | |
auto-options: '--no-changelog' | |
secrets: | |
gh_token: ${{ secrets.GH_TOKEN }} | |
npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }} | |