Skip to content

Commit d9affee

Browse files
committed
build(ci): drone build steps
Signed-off-by: Vojtech Masek <[email protected]>
1 parent 9e97732 commit d9affee

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.drone.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pipeline:
2+
build:
3+
image: node:9
4+
commands:
5+
- npm install
6+
- npm run lint
7+
- npm run test
8+
- npm run build
9+
build-release:
10+
when:
11+
event: tag
12+
image: node:9
13+
commands:
14+
- npm install
15+
- npm run lint
16+
- npm run test
17+
- npm run build
18+
release:
19+
when:
20+
event: tag
21+
image: plugins/npm
22+
23+
secrets: [token]

0 commit comments

Comments
 (0)