Skip to content

Commit 018deee

Browse files
committed
[explorer/frontend] feat: add configuration
1 parent 9654c7d commit 018deee

File tree

6 files changed

+45
-1
lines changed

6 files changed

+45
-1
lines changed

.github/buildConfiguration.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
builds:
2+
- name: Explorer Frontend
3+
path: explorer/frontend
4+
25
- name: Explorer Nodewatch
36
path: explorer/nodewatch
47

.github/codecov.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ coverage:
66
default:
77
target: 95% # overall project / repo coverage
88

9+
explorer-frontend:
10+
target: auto
11+
threshold: 1%
12+
flags:
13+
- explorer-frontend
14+
915
explorer-nodewatch:
1016
target: auto
1117
threshold: 1%
@@ -61,6 +67,11 @@ coverage:
6167
# monorepo. This allows code coverage per package.
6268

6369
flags:
70+
explorer-frontend:
71+
paths:
72+
- explorer/frontend
73+
carryforward: true
74+
6475
explorer-nodewatch:
6576
paths:
6677
- explorer/nodewatch

.github/dependabot.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@ updates:
1717
- minor
1818
- patch
1919

20+
- package-ecosystem: npm
21+
directory: /explorer/frontend
22+
schedule:
23+
interval: weekly
24+
day: sunday
25+
target-branch: dev
26+
labels: [Explorer Frontend]
27+
versioning-strategy: increase-if-necessary
28+
commit-message:
29+
prefix: '[dependency]'
30+
groups:
31+
explorer-frontend-dependencies:
32+
patterns:
33+
- '*'
34+
update-types:
35+
- minor
36+
- patch
37+
2038
- package-ecosystem: pip
2139
directory: /explorer/nodewatch
2240
schedule:

explorer/frontend/Jenkinsfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
defaultCiPipeline {
2-
platform = ['ubuntu']
2+
operatingSystem = ['ubuntu']
3+
instanceSize = 'medium'
4+
35
ciBuildDockerfile = 'javascript.Dockerfile'
46

57
packageId = 'explorer-frontend'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
# generate version.txt to be used in publishing
6+
echo $(npm run version --silent) > version.txt
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
npm run build
4+
serve -s build

0 commit comments

Comments
 (0)