Skip to content

Merge pull request #417 from Airfordable/users/abbotts/413-flat-eslint #8

Merge pull request #417 from Airfordable/users/abbotts/413-flat-eslint

Merge pull request #417 from Airfordable/users/abbotts/413-flat-eslint #8

Workflow file for this run

name: release-please
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
release:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
permissions:
contents: write
pull-requests: write
steps:
- id: release
uses: googleapis/release-please-action@v4
with:
release-type: node
publish:
environment: npm
runs-on: ubuntu-latest
needs: release
if: ${{ needs.release.outputs.release_created }}
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/*' # Use the latest LTS version of Node.js
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}