Skip to content

πŸ› Publish to NPM #1

πŸ› Publish to NPM

πŸ› Publish to NPM #1

Workflow file for this run

name: πŸ› Publish to NPM
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: πŸ“° Checkout
uses: actions/checkout@v4
- name: 🏭 Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: πŸ“₯ Install dependencies
run: npm ci
- name: πŸ—ž Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}