Skip to content

Commit 0eb8582

Browse files
committed
adds bundle GH action
Add a GitHub action to bundle the sds-ui-bundle and upload it as artifact.
1 parent aae0ae0 commit 0eb8582

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build UI Bundle Zip File
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
workflow_dispatch:
6+
7+
jobs:
8+
build-ui-bundle:
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- name: Checkout
12+
uses: actions/[email protected]
13+
- name: Set up Node
14+
uses: actions/[email protected]
15+
with:
16+
node-version : '15'
17+
- name: Install gulp
18+
run: npm install -g gulp-cli
19+
- name: Install dependencies
20+
run: npm install
21+
- name: Build UI bundle
22+
run: gulp bundle
23+
- name: Upload UI bundle
24+
uses: actions/upload-artifact@v2
25+
with:
26+
name: sds-ui-bundle.zip
27+
path: build/

0 commit comments

Comments
 (0)