iapp-api: v0.1.0 #3
Workflow file for this run
This file contains hidden or 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: CLI npm publish latest | |
| description: Publish iapp CLI on npm when a release is published | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| npm-publish: | |
| # only run for releases with tag 'iapp-v*' as created by release-please for CLI | |
| if: startsWith(github.ref_name,'iapp-v') | |
| uses: ./.github/workflows/reusable-cli-npm.yml | |
| with: | |
| tag: 'latest' | |
| secrets: | |
| npm-token: ${{ secrets.NPM_TOKEN }} |