Skip to content

chore(main): release 8.1.0 (#197) #195

chore(main): release 8.1.0 (#197)

chore(main): release 8.1.0 (#197) #195

name: release-please
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: navikt/github-app-token-generator@a8ae52448279d468cfbca5cd899f2457f0b1f643
id: get-token
with:
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
app-id: ${{ secrets.TOKENS_APP_ID }}
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ steps.get-token.outputs.token }}
release-type: node
package-name: '@netlify/blobs'
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: '*'
cache: 'npm'
check-latest: true
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}