Skip to content

Release 2.6.14

Release 2.6.14 #72

Workflow file for this run

# This workflow is triggered when a tag v* is pushed to the repository
# To release to npm, make sure you incremented the version in package.json
# and then run `git tag vx.x.x` and `git push origin vx.x.x`
name: npm-publish
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
publish-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- name: Publish CLI
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
generate-release-notes:
runs-on: ubuntu-latest
needs: publish-cli
steps:
- uses: actions/checkout@v4
- name: Generate Release Notes
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
generate_release_notes: true