Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/dispatch-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@ name: On-Demand Unit Testing
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or tag to test'
node-version:
description: Node.js version to use.
required: true
default: 'main'
type: choice
options:
- '18'
- '20'
- '22'
- '24'
default: '24'

jobs:
test:
name: On-Demand Unit Testing on ${{ inputs.ref }}
uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.2
name: On-Demand Unit Testing on Node.js v${{ inputs.node-version }}
uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.1.0
secrets: inherit
with:
pwsh: false
build: false
ref: ${{ inputs.ref }}
node-version: ${{ inputs.node-version }}