Skip to content

1.1.0

1.1.0 #6

Workflow file for this run

name: Publish to NPM
on:
push:
tags: ["v*"]
jobs:
publish:
name: Build and publish to npm
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
runs-on: ubuntu-22.04
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v4
# https://github.com/actions/setup-node
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
# - run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}