Skip to content

Commit bac209e

Browse files
committed
Configure Drone CI and Coveralls
1 parent 883dd1b commit bac209e

File tree

102 files changed

+76
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+76
-14
lines changed

.drone.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
kind: pipeline
3+
type: docker
4+
name: default
5+
6+
steps:
7+
- name: test
8+
image: node:14
9+
commands:
10+
- yarn
11+
- yarn test
12+
13+
- name: coverage
14+
image: plugins/codecov
15+
settings:
16+
token:
17+
from_secret: CODECOV_TOKEN
18+
files:
19+
- packages/microfront-core/coverage/lcov.info
20+
- packages/module-federation-utils/coverage/lcov.info
21+
22+
trigger:
23+
event:
24+
- push
25+
- pull_request
26+
27+
---
28+
kind: pipeline
29+
type: docker
30+
name: build
31+
32+
steps:
33+
- name: build
34+
image: node:14
35+
commands:
36+
- yarn
37+
- yarn build
38+
39+
trigger:
40+
event:
41+
- push
42+
- pull_request

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ indent_size = 2
2424

2525
[*.config.js]
2626
indent_size = 2
27+
28+
[*.yml]
29+
indent_size = 2

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
*.woff2 binary
1111
*.eot binary
1212
*.ttf binary
13+
*.bin binary
14+
*.tgz binary
15+
*.zip binary

.pnp.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)