Skip to content

Commit

Permalink
Fix GHA for Publish bumped packages
Browse files Browse the repository at this point in the history
Summary:
This change fixes the gha that should publish bumped packages.

## Changelog
[Internal] - Fix CI

Differential Revision: D58084675
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Jun 3, 2024
1 parent be38fbb commit 5681a3a
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/publish_bumped_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5681a3a

Please sign in to comment.