Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit ba6c931

Browse files
committed
Merge branch 'release/1.2.7'
2 parents 265c8ae + 09e0719 commit ba6c931

File tree

3 files changed

+7835
-17628
lines changed

3 files changed

+7835
-17628
lines changed

.circleci/config.yml

+19-40
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,31 @@
1-
# Javascript Node CircleCI 2.0 configuration file
2-
#
3-
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4-
#
5-
version: 2
1+
version: 2.1
62

7-
jobs:
8-
build:
9-
docker:
10-
- image: circleci/node:latest
11-
environment:
12-
- NODE_ENV: test
3+
orbs:
4+
node: circleci/[email protected]
5+
codecov: codecov/[email protected]
136

7+
jobs:
8+
test:
9+
executor:
10+
name: node/default
11+
tag: 'current'
1412
steps:
1513
- checkout
16-
17-
- restore_cache:
18-
keys:
19-
- dependencies-v2-{{ checksum "package.json" }}
20-
21-
- run:
22-
name: Install global packages
23-
command: sudo npm install -g codecov
24-
25-
- run:
26-
name: Install dependencies
27-
command: npm install
28-
29-
- save_cache:
30-
key: dependencies-v2-{{ checksum "package.json" }}
31-
paths:
32-
- node_modules
33-
14+
- node/install-packages
3415
- run:
3516
name: Javascript Linter
36-
command:
37-
set -e
38-
npm run lint
39-
17+
command: npm run lint
4018
- run:
41-
name: All Unit Tests with Code Coverage
42-
command:
43-
npm run test:unit:cov
44-
19+
name: Unit tests with code coverage
20+
command: npm run test:unit:cov
4521
- run:
4622
name: Server Tests
4723
command:
4824
npm run test:server
4925

50-
- run:
51-
name: Send reports to codecov.io
52-
command: codecov
26+
workflows:
27+
node-tests:
28+
jobs:
29+
- test:
30+
post-steps:
31+
- codecov/upload

0 commit comments

Comments
 (0)