-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.drone.yaml
More file actions
47 lines (38 loc) · 839 Bytes
/
Copy path.drone.yaml
File metadata and controls
47 lines (38 loc) · 839 Bytes
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
---
kind: pipeline
name: default
clone:
depth: 50
steps:
- name: install
image: node:24-alpine
commands: ["npm ci"]
- name: eslint
image: marcbachmann/eslint:9.1.1
when: {event: [push]}
depends_on: []
environment:
GH_TOKEN:
from_secret: GH_TOKEN
- name: test-node-20
image: node:20-alpine
commands: ["node --test"]
- name: test-node-22
image: node:22-alpine
commands: ["npm run test -s"]
- name: test-node-24
image: node:24-alpine
commands: ["npm run test -s"]
- name: release
image: livingdocs/semantic-release:v3.0.2
environment:
GH_TOKEN:
from_secret: GH_TOKEN
NPM_TOKEN:
from_secret: NPM_TOKEN
trigger:
event: [push]
---
kind: signature
hmac: 0d845d0c5b4673e24c8916da7c4224e94be7cedfe7bc9784ba8e8b62b8d0ed83
...