forked from livingdocsIO/editable.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
62 lines (52 loc) · 1.16 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
kind: pipeline
name: default
clone:
depth: 50
steps:
- name: eslint
image: marcbachmann/eslint:7.14.0
environment:
GH_TOKEN:
from_secret: GH_TOKEN
- name: install
image: cypress/browsers:node14.15.0-chrome86-ff82
commands: [npm ci]
- name: audit
image: cypress/browsers:node14.15.0-chrome86-ff82
commands: ["npm audit"]
depends_on: [install]
- name: build
image: cypress/browsers:node14.15.0-chrome86-ff82
commands: ["npm run build -s"]
depends_on: [install]
- name: test
image: cypress/browsers:node14.15.0-chrome86-ff82
commands: ["npm run test:ci -s"]
depends_on: [install]
- name: release
image: livingdocs/semantic-release:v1.0.0
environment:
GH_TOKEN:
from_secret: GH_TOKEN
NPM_TOKEN:
from_secret: NPM_TOKEN
when:
event: [push]
depends_on: [test]
- name: publish-gh-pages
image: plugins/gh-pages
settings:
pages_directory: examples/
username: x-oauth-basic
password:
from_secret: GH_TOKEN
when:
event: [tag]
depends_on: [build]
trigger:
event: [push, tag, pull_request]
---
kind: signature
hmac: 4b3c11615737ee65e16514e907cdf809318d7db5c1e6ef47b3ce05feeb0a4785
...