Skip to content

Merge pull request #34 from thedadams/prep-0.6.0 #1

Merge pull request #34 from thedadams/prep-0.6.0

Merge pull request #34 from thedadams/prep-0.6.0 #1

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 21
- name: Install dependencies
run: npm install -g typescript && npm install
- name: Publish release
run: npm run build && npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}