File tree Expand file tree Collapse file tree 2 files changed +38
-28
lines changed Expand file tree Collapse file tree 2 files changed +38
-28
lines changed Original file line number Diff line number Diff line change 1+ name : ui-scroll build
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ pull_request :
8+ branches : [ master ]
9+ workflow_dispatch :
10+ inputs :
11+ cause :
12+ description : ' Reason'
13+ required : true
14+ default : ' Manual triggering'
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ strategy :
20+ matrix :
21+ node-version : [18.x]
22+ steps :
23+ - name : Dispatched?
24+ if : ${{ github.event_name == 'workflow_dispatch' }}
25+ run : |
26+ echo "This is dispatched"
27+ echo "Build reason: ${{ github.event.inputs.cause }}"
28+
29+ - name : Checkout
30+ uses : actions/checkout@v3
31+
32+ - name : Use Node.js ${{ matrix.node-version }}
33+ uses : actions/setup-node@v3
34+ with :
35+ node-version : ${{ matrix.node-version }}
36+
37+ - run : npm ci
38+ - run : npm test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments