Skip to content

fix: bump @netlify/plugin-nextjs version (#1354) #922

fix: bump @netlify/plugin-nextjs version (#1354)

fix: bump @netlify/plugin-nextjs version (#1354) #922

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: GoogleCloudPlatform/release-please-action@v4
id: release
with:
token: ${{ steps.get-token.outputs.token }}
release-type: node
package-name: '@netlify/plugins-list'
- 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}}