Skip to content

v1.21.0

v1.21.0 #1

Workflow file for this run

name: Publish as npm module
on:
workflow_dispatch:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: https://registry.npmjs.org/
- name: Install
run: npm ci
- name: Build
run: npm start
- name: Publish
run: cd dist && npm publish --access restricted && cd -
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}