[0.75] Publish React Native macOS 0.75.0 (#2178) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Bumped Packages | |
on: | |
push: | |
branches: | |
- "main" | |
- "*-stable" | |
jobs: | |
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 |