Skip to content

Update var names

Update var names #2

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 }}