Publish Package to npmjs #37
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
| # This workflow will publish a package to npm when a release is published | |
| # For more information, see https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
| name: Publish Package to npmjs | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Publish to npm | |
| uses: scheduleonce/github-workflows/.github/actions/npm-publish@feature/npm-publish-action |