Skip to content

Commit 7507e18

Browse files
authored
fix: upgrade node requirement to 20 (#207)
1 parent 25d28ba commit 7507e18

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node
2525
uses: actions/[email protected]
2626
with:
27-
node-version: 18
27+
node-version: 20
2828
cache: yarn
2929
registry-url: 'https://registry.npmjs.org'
3030

.github/workflows/manual-deprecate-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup node
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18
26+
node-version: 20
2727
registry-url: 'https://registry.npmjs.org'
2828

2929
- name: Change version

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node
3030
uses: actions/[email protected]
3131
with:
32-
node-version: 18
32+
node-version: 20
3333
cache: yarn
3434
registry-url: 'https://registry.npmjs.org'
3535
if: ${{ steps.release.outputs.release_created == 'true' }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributions are welcome! If you would like to contribute, please fork the repo
44

55
## Requirements
66

7-
- Node >= 18.0.0
7+
- Node >= 20.0.0
88
- yarn
99

1010
## Installation
@@ -63,7 +63,7 @@ export type CoverageHandler = {
6363
5. Add the new `{format}CoverageObject` type to `src/transformers/reportGenerator.ts` and add anything needed to create the final report for that format, including updating the report extension in the `getExtensionForFormat` function.
6464
6. The unit and non-unit tests will automatically run the new coverage format after it's added to the `formatOptions` constant. You will need to run the unit test suite once to generate the baseline report for the new format.
6565
1. Add the newly generated baseline to the `baselines` folder named `{format}_baseline.{ext}`
66-
2. Create a new test constant with the baseline path in `test/utils/testConstants.ts`
66+
2. Create a new test constant with the baseline path in `test/utils/testConstants.ts`
6767
3. Add the new baseline constant to the `baselineMap` in `test/utils/baselineCompare.ts`
6868
3. If needed, update the `test/commands/acc-transformer/normalizeCoverageReport.ts` to remove timestamps if the new format report has timestamps, i.e. Cobertura and Clover.
6969
4. Re-run the unit test and confirm all tests pass, including the baseline compare test.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"wireit": "^0.14.12"
3131
},
3232
"engines": {
33-
"node": ">=18.0.0"
33+
"node": ">=20.0.0"
3434
},
3535
"files": [
3636
"/lib",

0 commit comments

Comments
 (0)