Skip to content

Publish to NPM Registry #4

Publish to NPM Registry

Publish to NPM Registry #4

Workflow file for this run

name: Publish to NPM Registry
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install Package Dependencies
run: yarn install
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}