Skip to content

chore(deps-dev): update eslint-plugin-n to v17.12.0 (#563) #41

chore(deps-dev): update eslint-plugin-n to v17.12.0 (#563)

chore(deps-dev): update eslint-plugin-n to v17.12.0 (#563) #41

name: Release Please
on:
push:
branches:
- main
permissions:
contents: read
jobs:
release_please:
name: release-please
runs-on: ubuntu-latest
outputs:
releaseCreated: ${{ steps.release.outputs.release_created }}
permissions:
contents: write
pull-requests: write
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json
npm_publish:
name: Publish to npm
runs-on: ubuntu-latest
needs: release_please
if: needs.release_please.outputs.releaseCreated
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}