Skip to content

Commit be3715d

Browse files
committed
f
1 parent f2ba710 commit be3715d

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

.github/workflows/microsoft-pr.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
lint-commit:
14+
lint-title:
1515
name: "Lint PR title"
1616
permissions: {}
1717
runs-on: ubuntu-latest
@@ -38,4 +38,29 @@ jobs:
3838
npm-publish-dry-run:
3939
name: "NPM Publish (Dry Run)"
4040
permissions: {}
41-
uses: ./.github/workflows/microsoft-npm-publish-dry-run.yml
41+
runs-on: ubuntu-latest
42+
env:
43+
PUBLISH_TAG: 'latest'
44+
steps:
45+
- uses: actions/checkout@v4
46+
with:
47+
filter: blob:none
48+
fetch-depth: 0
49+
- uses: actions/setup-node@v4
50+
with:
51+
node-version: '22'
52+
- name: Configure git
53+
run: |
54+
git config --global user.email "[email protected]"
55+
git config --global user.name "React-Native Bot"
56+
git remote set-url origin https://rnbot:${{ secrets.GITHUB_TOKEN }}@github.com/microsoft/react-native-macos
57+
- name: Install dependencies
58+
run: yarn
59+
- name: Verify release config
60+
run: |
61+
node .ado/scripts/prepublish-check.mjs --verbose --skip-auth --tag ${{ env.PUBLISH_TAG }}
62+
63+
- name: Version and publish packages (dry run)
64+
run: |
65+
echo "Target branch: ${{ github.base_ref }}"
66+
yarn nx release --dry-run --verbose

0 commit comments

Comments
 (0)