Skip to content

Docs and minor changes #7

Docs and minor changes

Docs and minor changes #7

name: Build and Publish NPM package
on:
push:
branches: [main]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Publish to NPM package registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}