File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Widget Build
2+
3+ on :
4+ pull_request :
5+ workflow_dispatch :
6+ inputs :
7+ commit_id :
8+ description : ' Branch or Commit ID (optional)'
9+ required : false
10+ type : string
11+ schedule :
12+ # Run at 10:00 UTC every day
13+ - cron : " 00 10 * * *"
14+
15+ jobs :
16+ build_widget :
17+ defaults :
18+ run :
19+ shell : bash
20+ working-directory : ./client/
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout repo at ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
24+ uses : actions/checkout@v4
25+ with :
26+ ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version : 18
30+ - name : Install dependencies
31+ run : |
32+ npm install
33+ - name : Build
34+ run : |
35+ ./build-to-guidance.sh
36+
You can’t perform that action at this time.
0 commit comments