Skip to content

feat(plasma-rsc): Server components #1168

feat(plasma-rsc): Server components

feat(plasma-rsc): Server components #1168

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 }}