File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : UI Kit Release
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ branch :
7+ description : ' Branch to build from'
8+ required : true
9+ default : ' main'
10+ type : string
11+
12+ jobs :
13+ build-ui-kit :
14+ name : Build and release UI kit
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v3
19+ with :
20+ ref : ${{ github.event.inputs.branch }}
21+
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ' 18'
26+ cache : ' npm'
27+
28+ - name : Install dependencies
29+ run : npm ci
30+ working-directory : ./ui-kit
31+
32+ - name : Build UI kit
33+ run : npm run build
34+ working-directory : ./ui-kit
35+
36+ - name : Create artifact
37+ uses : actions/upload-artifact@v3
38+ with :
39+ name : ui-kit-build
40+ path : ui-kit/dist/
41+ retention-days : 7
42+ ` ` `
You can’t perform that action at this time.
0 commit comments