Merge pull request #42 from Expensify/andrew-shared-publish #9
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 package to npmjs | |
on: | |
push: | |
branches: [main] | |
# Ensure that only one instance of this workflow executes at a time. | |
# If multiple PRs are merged in quick succession, there will only ever be one publish workflow running and one pending. | |
concurrency: ${{ github.workflow }} | |
jobs: | |
publish: | |
# os-botify[bot] will update the version on `main`, so this check is important to prevent an infinite loop | |
if: ${{ github.actor != 'os-botify[bot]' }} | |
uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main | |
secrets: inherit | |
with: | |
should_run_build: true |