Skip to content

NPM Publish Release

NPM Publish Release #1

Workflow file for this run

name: NPM Publish Release
on:
workflow_dispatch:
branches:
- main
jobs:
CI:
uses: ./.github/workflows/ci.yml
publish:
runs-on: ubuntu-latest
needs: CI
steps:
- uses: actions/checkout@v4
name: Checkout Repository
- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: latest
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- run: pnpm run build:prod
name: Build Production
- run: pnpm publish
name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}k