We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 197246d commit c47fb9bCopy full SHA for c47fb9b
1 file changed
.github/workflows/dispatch-test-pr.yml
@@ -3,17 +3,23 @@ name: On-Demand Unit Testing
3
on:
4
workflow_dispatch:
5
inputs:
6
- ref:
7
- description: 'Branch or tag to test'
+ node-version:
+ description: Node.js version to use.
8
required: true
9
- default: 'main'
+ type: choice
10
+ options:
11
+ - '18'
12
+ - '20'
13
+ - '22'
14
+ - '24'
15
+ default: '24'
16
17
jobs:
18
test:
- name: On-Demand Unit Testing on ${{ inputs.ref }}
- uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.2
19
+ name: On-Demand Unit Testing on Node.js v${{ inputs.node-version }}
20
+ uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.1.0
21
secrets: inherit
22
with:
23
pwsh: false
24
build: false
- ref: ${{ inputs.ref }}
25
+ node-version: ${{ inputs.node-version }}
0 commit comments