Skip to content

Commit 4cc6f6a

Browse files
authored
Merge pull request #302 from EventStore/attempt-to-fix-nightly
Fix CI
2 parents f58d914 + 23f5cbf commit 4cc6f6a

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
jobs:
8+
build:
9+
name: Build UI
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Setup node
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 10
18+
- name: Packaging
19+
run: |
20+
npm install bower@~1.8.4 -g
21+
bower install
22+
npm install gulp@~3.8.8 -g
23+
npm install
24+
gulp dist
25+
mv es-dist clusternode-web
26+
zip -r EventStore.OSS.UI-v${{ steps.release.outputs.version}}.zip clusternode-web

.github/workflows/nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
build-type: nightly
2222
- name: Packaging
2323
run: |
24-
sudo npm install bower@~1.8.4 -g
25-
sudo bower install --allow-root
26-
sudo npm install gulp@~3.8.8 -g
24+
npm install bower@~1.8.4 -g
25+
bower install
26+
npm install gulp@~3.8.8 -g
2727
npm install
2828
gulp dist
2929
mv es-dist clusternode-web

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
version: oss-v${{ steps.get_version.outputs.version }}
2727
- name: Packaging
2828
run: |
29-
sudo npm install bower@~1.8.4 -g
30-
sudo bower install --allow-root
31-
sudo npm install gulp@~3.8.8 -g
29+
npm install bower@~1.8.4 -g
30+
bower install --allow-root
31+
npm install gulp@~3.8.8 -g
3232
npm install
3333
gulp dist
3434
mv es-dist clusternode-web

0 commit comments

Comments
 (0)