forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This change fixes the gha that should publish bumped packages. ## Changelog [Internal] - Fix CI Differential Revision: D58084675
- Loading branch information
1 parent
be38fbb
commit 5681a3a
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,21 @@ on: | |
branches: | ||
- "main" | ||
- "*-stable" | ||
pull_request: | ||
|
||
jobs: | ||
runs-on: ubuntu-latest | ||
env: | ||
GHA_NPM_TOKEN: ${{secrets.GHA_NPM_TOKEN}} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- 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/[email protected] | ||
- 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 |