Skip to content

Commit

Permalink
Bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Apr 3, 2024
1 parent 0d748fd commit 943755f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
node-version: "18.x"
- name: Install dependencies
run: yarn install
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
- name: Install dependencies
run: yarn install
- name: Run Prettier Test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Run NPM Test
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
postgres-version: [13, 14, 15]
node-version: [18.x, 20.x]
postgres-version: [14, 15, 16]
runs-on: ubuntu-20.04
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/type-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: "yarn"
- name: Run NPM Install
run: yarn install --frozen-lockfile
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"build": "tsup",
"format": "prettier -w .",
"format:check": "prettier --check ."
},
"engines": {
"node": ">=18"
}
}
6 changes: 0 additions & 6 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import type { SharedWorkerFunctions, TestWorkerFunctions } from "./lib/rpc"

type WorkerRpc = BirpcReturn<TestWorkerFunctions, SharedWorkerFunctions>

class TestWorkerShutdownError extends Error {
constructor() {
super("Test worker unexpectedly shut down")
}
}

export class Worker {
private paramsHashToTemplateCreationPromise = new Map<
string,
Expand Down

0 comments on commit 943755f

Please sign in to comment.