File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Manually Test
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ branch :
6+ description : ' Test Branch'
7+ required : true
8+ default : ' main'
9+ os :
10+ description : ' Operating System'
11+ required : true
12+ default : ' ubuntu-latest'
13+ options :
14+ - ' windows-latest'
15+ - ' ubuntu-latest'
16+ node_version :
17+ description : ' Node Environment'
18+ required : true
19+ default : ' 20.x'
20+ jobs :
21+ test :
22+ name : Test
23+ timeout-minutes : 30
24+ continue-on-error : true
25+ runs-on : ${{ github.event.inputs.os }}
26+ steps :
27+ - name : Checkout to code
28+ uses : actions/checkout@v4
29+ with :
30+ ref : ${{ github.event.inputs.branch }}
31+ - name : install Node js Version 20
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : ${{ github.event.inputs.node_version }}
35+ - name : install dependency
36+ run : npm install
37+ - name : Run test
38+ run : npm run test
You can’t perform that action at this time.
0 commit comments