Skip to content

Commit

Permalink
Upgrade Node (#31)
Browse files Browse the repository at this point in the history
* bump node, checkout action, fix some package.json & gitignore things so tests/lint run

* use openssl-legacy-provider for build
  • Loading branch information
anthony-dandrea authored May 6, 2024
1 parent beb17d4 commit 60f8b4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
NODE_VERSION: 14.17.3
NODE_VERSION: 20.11.1
MASTER_SHA: ''

on:
Expand All @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
name: We test it locally with act
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: jest coverage reporter
uses: ./ # Uses an action in the root directory
Expand All @@ -37,4 +37,4 @@ jobs:
coverageType: cobertura
only-check-changed-files: false
check-new-file-full-coverage: false
prefix-filename-url: 'https://tubi-web-assets-staging.s3.us-east-2.amazonaws.com/larnaca-coverage-artifacts'
prefix-filename-url: 'https://tubi-web-assets-staging.s3.us-east-2.amazonaws.com/larnaca-coverage-artifacts'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
# coverage
debug.local.js
tests
coverage/*
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Produce a coverage report and provide a diff with base report",
"main": "dest/index.js",
"scripts": {
"lint": "eslint -c .eslintrc.json src",
"test": "jest src --coverage --verbose",
"lint": "eslint -c .eslintrc.js src",
"test": "jest src --coverage --verbose --passWithNoTests",
"jest-dev": "jest src --coverage --verbose --watch",
"build": "ncc build src/index.js -o dest"
"build": "NODE_OPTIONS=--openssl-legacy-provider ncc build src/index.js -o dest"
},
"repository": "git@github.com:arunshan/jest-cov-reporter.git",
"license": "MIT",
Expand All @@ -23,5 +23,8 @@
"eslint": "^8.6.0",
"jest": "^26.6.3",
"xml2js": "^0.6.2"
},
"engines": {
"node": "^20.11.1"
}
}

0 comments on commit 60f8b4e

Please sign in to comment.