Skip to content

Commit

Permalink
Merge pull request #141 from PermanentOrg/82-update-to-node-18
Browse files Browse the repository at this point in the history
Update to Node 18
  • Loading branch information
slifty authored Aug 9, 2023
2 parents b42c69b + 5b3bfd6 commit 90acb7a
Show file tree
Hide file tree
Showing 27 changed files with 3,029 additions and 3,018 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dry-run-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm install --production=false
- run: npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
Expand Down
18 changes: 2 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Test Node.js 16.x
name: Test Node.js 18.x
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- run: npm install --production=false
- run: npm test -- --coverage
- uses: codecov/codecov-action@v3

run_regression_tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
name: Test Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install --production=false
- run: npm test
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- This package no longer supports Node v14

## [0.6.0] - 2023-05-18
## Changed
Expand Down
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
globals: {
"ts-jest": {
transform: {
"^.+\\.tsx?$": ['ts-jest', {
tsconfig: 'tsconfig.json',
},
}],
},
preset: 'ts-jest',
testEnvironment: 'node',
Expand Down
Loading

0 comments on commit 90acb7a

Please sign in to comment.