-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.drone.yml
92 lines (79 loc) · 11.1 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
kind: pipeline
type: docker
name: Default
trigger:
event:
- push
- tag
steps:
- name: audit
image: node:12
commands:
- npm audit --package-lock-only --production --audit-level=moderate
- name: install
image: node:12
environment:
NPM_CONFIG_IGNORE_SCRIPTS: true
commands:
- npm ci
- name: test
image: node:12
commands:
- npm test
- name: check-coverage
image: node:12
commands:
- npm run coverage
- name: build
image: node:12
commands:
- npm run build
- npm ci --production
- name: static-security-scan
image: quay.io/natlibfi/nodejsscan
commands:
- python /usr/src/app/cli.py -d dist
- name: npm
image: plugins/npm
settings:
registry: 'https://registry.npmjs.org/'
token:
from_secret: npm_token
when:
event: tag
---
kind: pipeline
type: docker
name: Update dependencies
trigger:
event:
- custom
branch:
- master
steps:
- name: publish
image: quay.io/natlibfi/drone-npm-git-publish
settings:
git_user_name: natlibfi-melinda-automation
git_user_email: 65649125+natlibfi-melinda-automation@users.noreply.github.com
git_ssh_key:
from_secret: ssh_key
git_gpg_key:
from_secret: gpg_key
---
kind: secret
name: npm_token
data: pgkxKUuPgdYiH8gzM6TCcxRiCIx2WTwZ/ywi2JTfTjdrNHBncsjTGsA9pPUmVYMhSqybY9VpHj3+u9kPBdRtpQ==
---
kind: secret
name: ssh_key
data: QrIbuehYnjpP4hy+lfAwLkm/hOrpMHZkdNW9a8ZBmks0wT/c3Ka/lRmS+nvERTXNveVWtrP1BhhtJ/fFpa7rJhMB45T/o+FkEdMQRF71nR4GLRlj2wH6v8y2Sm48BFslR3rWx7WFLN0WwNAuKGA13NTv6TLufVWwyWhH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