Skip to content

Commit

Permalink
Merge branch 'release/1.2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
davesag committed Jul 30, 2022
2 parents 265c8ae + 09e0719 commit ba6c931
Show file tree
Hide file tree
Showing 3 changed files with 7,835 additions and 17,628 deletions.
59 changes: 19 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,31 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
version: 2.1

jobs:
build:
docker:
- image: circleci/node:latest
environment:
- NODE_ENV: test
orbs:
node: circleci/node@4.7.0
codecov: codecov/codecov@3.2.0

jobs:
test:
executor:
name: node/default
tag: 'current'
steps:
- checkout

- restore_cache:
keys:
- dependencies-v2-{{ checksum "package.json" }}

- run:
name: Install global packages
command: sudo npm install -g codecov

- run:
name: Install dependencies
command: npm install

- save_cache:
key: dependencies-v2-{{ checksum "package.json" }}
paths:
- node_modules

- node/install-packages
- run:
name: Javascript Linter
command:
set -e
npm run lint

command: npm run lint
- run:
name: All Unit Tests with Code Coverage
command:
npm run test:unit:cov

name: Unit tests with code coverage
command: npm run test:unit:cov
- run:
name: Server Tests
command:
npm run test:server

- run:
name: Send reports to codecov.io
command: codecov
workflows:
node-tests:
jobs:
- test:
post-steps:
- codecov/upload
Loading

0 comments on commit ba6c931

Please sign in to comment.