Skip to content

Commit

Permalink
Merge branch 'release/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
davesag committed Jul 30, 2022
2 parents 853bd6c + fb8001b commit 56b813c
Show file tree
Hide file tree
Showing 5 changed files with 2,858 additions and 2,711 deletions.
47 changes: 17 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,27 @@
version: 2
version: 2.1

jobs:
build:
docker:
- image: circleci/node:latest
environment:
- NODE_ENV: test
orbs:
node: circleci/[email protected]
codecov: codecov/[email protected]

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: npm run lint

- run:
name: Unit Tests with Code Coverage
name: Unit tests with code coverage
command: npm run test:unit:cov

- run:
name: Send reports to codecov.io
command: codecov
workflows:
node-tests:
jobs:
- test:
post-steps:
- codecov/upload
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ See [`github.com/davesag/irMobile`](https://github.com/davesag/irMobile)

### Prerequisites

- [NodeJS](htps://nodejs.org), I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.
- [NodeJS](https://nodejs.org), I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.

### Initialisation

Expand Down
Loading

0 comments on commit 56b813c

Please sign in to comment.