mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Fix GHA for Publish bumped packages (#44760)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44760 This change fixes the gha that should publish bumped packages. ## Changelog [Internal] - Fix CI Reviewed By: huntie Differential Revision: D58084675 fbshipit-source-id: 16639f5413dbe2a7182561a1de911194ae52a161
This commit is contained in:
parent
be38fbb3f8
commit
84ff977b37
31
.github/workflows/publish_bumped_packages.yml
vendored
31
.github/workflows/publish_bumped_packages.yml
vendored
@ -7,17 +7,20 @@ on:
|
||||
- "*-stable"
|
||||
|
||||
jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GHA_NPM_TOKEN: ${{secrets.GHA_NPM_TOKEN}}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Setup node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Build packages
|
||||
command: yarn build
|
||||
- name: Set NPM auth token
|
||||
run: echo "//registry.npmjs.org/:_authToken=$GHA_NPM_TOKEN" > ~/.npmrc
|
||||
- name: Find and publish all bumped packages
|
||||
run: node ./scripts/releases-ci/publish-updated-packages.js
|
||||
publish_bumped_packages:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GHA_NPM_TOKEN: ${{ secrets.GHA_NPM_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Setup node.js
|
||||
uses: ./.github/actions/setup-node
|
||||
- name: Run Yarn Install
|
||||
run: yarn install
|
||||
- name: Build packages
|
||||
run: yarn build
|
||||
- name: Set NPM auth token
|
||||
run: echo "//registry.npmjs.org/:_authToken=$GHA_NPM_TOKEN" > ~/.npmrc
|
||||
- name: Find and publish all bumped packages
|
||||
run: node ./scripts/releases-ci/publish-updated-packages.js
|
||||
|
Loading…
Reference in New Issue
Block a user