We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a30f4 commit 197246dCopy full SHA for 197246d
.github/workflows/dispatch-test-pr.yml
@@ -0,0 +1,19 @@
1
+name: On-Demand Unit Testing
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ ref:
7
+ description: 'Branch or tag to test'
8
+ required: true
9
+ default: 'main'
10
11
+jobs:
12
+ test:
13
+ name: On-Demand Unit Testing on ${{ inputs.ref }}
14
+ uses: WJSoftware/cicd/.github/workflows/[email protected]
15
+ secrets: inherit
16
+ with:
17
+ pwsh: false
18
+ build: false
19
+ ref: ${{ inputs.ref }}
.github/workflows/test-pr.yml
@@ -8,8 +8,9 @@ on:
jobs:
test:
name: Unit Testing
- uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.1.0
+ uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.2
secrets: inherit
with:
pwsh: false
build: false
+ ref: ${{ github.head_ref }}
0 commit comments