Skip to content

Commit 2e713f9

Browse files
authored
workflow: modify release action (#2452)
1 parent 3d61613 commit 2e713f9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release-pull-request.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838
run: pnpm install --ignore-scripts
3939

4040
- name: Create Release Pull Request
41-
uses: web-infra-dev/actions@v2
41+
uses: module-federation/actions@v2
4242
with:
4343
# this expects you to have a script called release which does a build for your packages and calls changeset publish
4444
version: ${{ github.event.inputs.version || 'latest' }}
4545
versionNumber: 'auto'
4646
type: 'pull request'
4747
tools: 'changeset'
48+
coreNpmName: '@module-federation/runtime'
4849
env:
4950
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
5051
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: pnpm run build:pkg
5252

5353
- name: Release
54-
uses: web-infra-dev/actions@v2
54+
uses: module-federation/actions@v2
5555
with:
5656
version: 'next'
5757
type: 'release'
@@ -93,7 +93,7 @@ jobs:
9393
ls -l packages/*/dist packages/*/package.json
9494
9595
- name: Release
96-
uses: web-infra-dev/actions@v2
96+
uses: module-federation/actions@v2
9797
with:
9898
version: ${{ github.event.inputs.version || 'next' }}
9999
branch: ${{ github.event.inputs.branch }}

0 commit comments

Comments
 (0)