Skip to content

Bump

Bump #4

Workflow file for this run

name: Publish NPM Package
on:
workflow_dispatch:
push:
tags: [v*]
jobs:
publish:
name: Build and publish to NPM
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Publish package
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true