Skip to content

Publish Package to npmjs #3

Publish Package to npmjs

Publish Package to npmjs #3

Workflow file for this run

name: Publish Package to npmjs
on:
workflow_dispatch: {}
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: ./.github/actions/setup-node
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish ./dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}