Add publish_bumped_packages in GHA #1
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: | ||
runs-on: ubuntu-latest | ||
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=${CIRCLE_NPM_TOKEN}" > ~/.npmrc | ||
- name: Find and publish all bumped packages | ||
run: node ./scripts/releases-ci/publish-updated-packages.js |