Skip to content

Commit

Permalink
Update IstanbulJS to fix CI coverage
Browse files Browse the repository at this point in the history
Updates nyc and IstanbulJS to make the CI code coverage
measurement less error prone.

Also increase Node version in CI builds to 14 and skip
tests on MacOS for now as the cross environment
variables don't seem to properly work there.
  • Loading branch information
sdirix committed Dec 22, 2021
1 parent 28422ea commit 1fb9666
Show file tree
Hide file tree
Showing 10 changed files with 575 additions and 472 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
- name: Build
run: |
npm ci
npm run init
npm run build
npm run bundle
- name: Test
if: matrix.os != 'ubuntu-latest'
if: matrix.os == 'windows-latest'
run: |
npm run test
- name: Test & Coverage
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ In addition, EclipseSource also offers [professional support](https://jsonforms.

### First time setup

* Install [node.js](https://nodejs.org/) (only Node 12 is currently supported)
* Install [node.js](https://nodejs.org/) (only Node 14 and npm 6 is currently supported)
* Clone this repository
* Install dependencies: `npm ci`
* Hook up dependencies between packages: `npm run init`
Expand Down
Loading

0 comments on commit 1fb9666

Please sign in to comment.