aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: cb81f80eb8d3dce92ee462102313503def667a54 (plain) (blame)
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
kind: pipeline
type: kubernetes
name: default

steps:
- name: AO Coverage Verify
  image: node:lts
  environment:
    FORMAT: cobertura
    REPORT_FILE: coverage/cobertura-coverage.xml
    HOST_DIR: /dist
    VERBOSE: true
    COV_TOKEN:
      from_secret: token
  commands:
  - mkdir -p $HOST_DIR && chown $USER:$USER $HOST_DIR
  - yarn install --immutable --immutable-cache --check-cache
  - yarn run lint
  - yarn run test:coverage
  - curl --proto '=https' --tlsv1.2 -sSf https://cov.submelon.dev/sh | sh

trigger:
  branch:
  - trunk
  event:
  - pull_request
  - push
  - custom