Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Publish to npm

Publish to npm #1

Workflow file for this run

on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Set up NodeJS LTS
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm i
- name: Build
run: npm run build
- name : Publish to npm
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}