Skip to content

Commit

Permalink
fix: add manual publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ooade committed Dec 21, 2024
1 parent 7a6b978 commit de2748b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/manual-publish-on-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Manual Publish on NPM

on:
workflow_dispatch: # Allows manual trigger

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci --legacy-peer-deps
- run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit de2748b

Please sign in to comment.