Skip to content

Prepare for alpha release #2

Prepare for alpha release

Prepare for alpha release #2

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- "v*" # Trigger only on tags that start with 'v', e.g., v1.0.0
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18" # Use your Node.js version
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: npm publish