Skip to content

Commit de2748b

Browse files
committed
fix: add manual publish workflow
1 parent 7a6b978 commit de2748b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Manual Publish on NPM
2+
3+
on:
4+
workflow_dispatch: # Allows manual trigger
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version-file: '.nvmrc'
14+
cache: 'npm'
15+
- run: npm ci --legacy-peer-deps
16+
- run: npx semantic-release
17+
env:
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)