mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-24 21:15:51 +01:00
build: add node13 to ci checks (#1613)
* chore: add more specific version of nodejs I want o to be more clear against what we are testing * chore: coverage as last step * chore: add codecov * chore: re-organize the steps
This commit is contained in:
parent
d9c93e8c18
commit
a6c8ea8bfc
@ -6,10 +6,13 @@ executors:
|
|||||||
- image: circleci/node:latest-browsers
|
- image: circleci/node:latest-browsers
|
||||||
node_latest:
|
node_latest:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:latest
|
- image: circleci/node:13
|
||||||
node_lts:
|
node_lts_12:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:lts
|
- image: circleci/node:12
|
||||||
|
node_lts_10:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:10
|
||||||
default_executor: node_latest
|
default_executor: node_latest
|
||||||
|
|
||||||
aliases:
|
aliases:
|
||||||
@ -87,14 +90,18 @@ jobs:
|
|||||||
key: *coverage_key
|
key: *coverage_key
|
||||||
paths:
|
paths:
|
||||||
- coverage
|
- coverage
|
||||||
|
test_node_lts_12:
|
||||||
test_node_lts:
|
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
executor: node_lts
|
executor: node_lts_12
|
||||||
|
steps:
|
||||||
|
- restore_repo
|
||||||
|
- run_test
|
||||||
|
test_node_lts_10:
|
||||||
|
<<: *defaults
|
||||||
|
executor: node_lts_10
|
||||||
steps:
|
steps:
|
||||||
- restore_repo
|
- restore_repo
|
||||||
- run_test
|
- run_test
|
||||||
|
|
||||||
test_e2e:
|
test_e2e:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
executor: node_latest_browser
|
executor: node_latest_browser
|
||||||
@ -127,15 +134,22 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- prepare
|
- prepare
|
||||||
<<: *ignore_non_dev_branches
|
<<: *ignore_non_dev_branches
|
||||||
- test_node_lts:
|
- test_node_lts_12:
|
||||||
|
requires:
|
||||||
|
- prepare
|
||||||
|
<<: *ignore_non_dev_branches
|
||||||
|
- test_node_lts_10:
|
||||||
requires:
|
requires:
|
||||||
- prepare
|
- prepare
|
||||||
<<: *ignore_non_dev_branches
|
<<: *ignore_non_dev_branches
|
||||||
- test_e2e:
|
- test_e2e:
|
||||||
requires:
|
requires:
|
||||||
- prepare
|
- prepare
|
||||||
|
- test_node_latest
|
||||||
|
- test_node_lts_10
|
||||||
|
- test_node_lts_12
|
||||||
<<: *ignore_non_dev_branches
|
<<: *ignore_non_dev_branches
|
||||||
- coverage:
|
- coverage:
|
||||||
requires:
|
requires:
|
||||||
- test_node_latest
|
- test_e2e
|
||||||
<<: *ignore_non_dev_branches
|
<<: *ignore_non_dev_branches
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node_version: [10, 12]
|
node_version: [10, 12, 13]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
29
codecov.yml
Normal file
29
codecov.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
codecov:
|
||||||
|
require_ci_to_pass: yes
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
precision: 2
|
||||||
|
round: down
|
||||||
|
range: "80...85"
|
||||||
|
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
target: auto
|
||||||
|
threshold: 1%
|
||||||
|
base: auto
|
||||||
|
patch: no
|
||||||
|
changes: no
|
||||||
|
|
||||||
|
parsers:
|
||||||
|
gcov:
|
||||||
|
branch_detection:
|
||||||
|
conditional: yes
|
||||||
|
loop: yes
|
||||||
|
method: no
|
||||||
|
macro: no
|
||||||
|
|
||||||
|
comment:
|
||||||
|
layout: "diff,flags,tree"
|
||||||
|
behavior: default
|
||||||
|
require_changes: no
|
Loading…
Reference in New Issue
Block a user