Skip to content

1.1.15

1.1.15 #19

Workflow file for this run

name: Release a new version of the package
on:
push:
tags:
- '*.*.*' # Without leading 'v' to match 'npm version' tags
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm install
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}