Skip to content

Version 1.0.9

Version 1.0.9 #11

Workflow file for this run

name: Publish NPM Package
on:
workflow_dispatch:
release:
types: [published]
jobs:
npm:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- name: setup-node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# - name: ci
# run: npm ci
- name: publish-npm
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}