Skip to content

Commit 3bd4af3

Browse files
zhoushawzhouxiao.shaw
andauthored
chore(workflow): optimize affected pkg after release (#1790)
Co-authored-by: zhouxiao.shaw <[email protected]>
1 parent 3af2723 commit 3bd4af3

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
branch:
1616
description: 'Release Branch (confirm release branch)'
1717
required: true
18-
default: 'canary'
18+
default: 'main'
1919
issue_comment:
2020
types: [created]
2121

@@ -88,8 +88,8 @@ jobs:
8888

8989
- name: Build and test Packages
9090
run: |
91-
git fetch origin canary
92-
npx nx affected -t pre-release --parallel=3 --exclude='*,!tag:package' --base=origin/canary --head=${{ github.ref }}
91+
git fetch origin main
92+
npx nx affected -t pre-release --parallel=3 --exclude='*,!tag:package' --base=main --head=${{ github.ref }}
9393
9494
- name: Release
9595
uses: web-infra-dev/actions@v2

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
**/*.hbs
66
*.md
77
!README.md
8+
pnpm-lock.yaml

apps/node-host-e2e/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "node-host-e2e",
3-
"version": "1.0.0",
43
"private": true,
54
"dependencies": {
65
"@module-federation/node": "workspace:*"

apps/node-host/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "node-host",
33
"private": true,
4-
"version": "1.0.0",
54
"dependencies": {
65
"@module-federation/node": "workspace:*"
76
}

apps/node-local-remote/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "node-local-remote",
3-
"version": "1.0.0",
43
"private": true,
54
"dependencies": {
65
"@module-federation/node": "workspace:*"

apps/node-remote/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "node-remote",
3-
"private": true,
43
"version": "1.0.0",
54
"dependencies": {
65
"@module-federation/node": "workspace:*"

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@module-federation/sdk",
3-
"version": "0.3.0",
3+
"version": "0.0.3",
44
"license": "MIT",
55
"description": "A sdk for support module federation",
66
"keywords": [

0 commit comments

Comments
 (0)