Merge pull request #95 from Boehringer-Ingelheim/fix-url #55
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - next | |
| jobs: | |
| release: | |
| env: | |
| # Disable husky (git hooks) in CI, see: https://typicode.github.io/husky/guide.html#with-env-variables | |
| HUSKY: 0 | |
| name: Release | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| id-token: write # Required for npm OIDC trusted publishing | |
| contents: write # Required for creating GitHub releases | |
| issues: write # Required for @semantic-release/github success comments | |
| pull-requests: write # Required for @semantic-release/github success comments | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| registry-url: https://registry.npmjs.org/ | |
| cache: npm | |
| - name: Install Dependencies | |
| run: npm clean-install | |
| - name: Release package to npm and GitHub | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npm run release:ci |