Skip to content

Commit e06b2ce

Browse files
committed
Add workflow dispatch to actions
1 parent c6b1ce8 commit e06b2ce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "Node.js CI",
33
"on": {
44
"push": { "branches": ["master"] },
5-
"pull_request": { "branches": ["master"] }
5+
"pull_request": { "branches": ["master"] },
6+
"workflow_dispatch": {}
67
},
78
"jobs": {
89
"build": {

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "Node.js Package",
3-
"on": { "release": { "types": ["created"] } },
3+
"on": {
4+
"release": { "types": ["created"] },
5+
"workflow_dispatch": {}
6+
},
47
"jobs": {
58
"build": {
69
"runs-on": "ubuntu-latest",

0 commit comments

Comments
 (0)