Skip to content

Commit 6ed776c

Browse files
authored
Merge pull request #4 from evert-arias/feature/typescript-implementation-update-deps
feat: Add workflow_dispatch trigger to NPM publish workflow
2 parents 2506e97 + d60ca43 commit 6ed776c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@ name: Publish to NPM
33
on:
44
release:
55
types: [created]
6+
workflow_dispatch:
67

78
jobs:
89
publish:
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Checkout
1213
uses: actions/checkout@v4
13-
14+
1415
- name: Setup Node.js
1516
uses: actions/setup-node@v4
1617
with:
1718
node-version: 18
18-
registry-url: 'https://registry.npmjs.org'
19-
19+
registry-url: "https://registry.npmjs.org"
20+
2021
- name: Install dependencies
2122
run: npm ci
22-
23+
2324
- name: Build
2425
run: npm run build
25-
26+
2627
- name: Publish to NPM
2728
run: npm publish
2829
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)