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

Release npm package #29

Release npm package

Release npm package #29

Workflow file for this run

name: Release npm package
on: workflow_dispatch
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 7
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Release on NPM
run: pnpm semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}