Skip to content

Commit

Permalink
update nodejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
jowparks committed Mar 20, 2024
1 parent 4efcab5 commit 6445abc
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'

- name: Install dependencies
run: npm install
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ node_modules/
.eslintcache
*-cache*
*testdb*
*yarn-error.log
*yarn-error.log
test/*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Node.js runtime as the base image
FROM node:18
FROM node:20

# Set the working directory in the container to /app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"dev": "nodemon --config ./nodemon.json --exec 'yarn build && yarn start'",
"lint": "eslint --ext .ts .",
"test": "yarn build && CACHE_PATH='test/cache' BUILD_CACHE=false jest src/* --forceExit --runInBand",
"test": "yarn build && NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" CACHE_PATH='test/cache' BUILD_CACHE=false jest src/* --forceExit --runInBand",
"format": "prettier . --write",
"prebuild": "node bin/proto && rimraf dist",
"tsoa-gen": "tsoa spec-and-routes",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file added test/cache/leveldb/000169.ldb
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion test/cache/leveldb/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-000122
MANIFEST-000175
6 changes: 3 additions & 3 deletions test/cache/leveldb/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
2024/03/19-09:37:17.297631 173e2b000 Recovering log #121
2024/03/19-09:37:17.298491 173e2b000 Delete type=3 #119
2024/03/19-09:37:17.298537 173e2b000 Delete type=0 #121
2024/03/20-13:13:58.241912 1708ab000 Recovering log #174
2024/03/20-13:13:58.242369 1708ab000 Delete type=0 #174
2024/03/20-13:13:58.242398 1708ab000 Delete type=3 #173
8 changes: 3 additions & 5 deletions test/cache/leveldb/LOG.old
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
2024/03/19-09:37:16.985331 172e13000 Recovering log #118
2024/03/19-09:37:16.985449 172e13000 Level-0 table #120: started
2024/03/19-09:37:16.985657 172e13000 Level-0 table #120: 1766 bytes OK
2024/03/19-09:37:16.986076 172e13000 Delete type=3 #117
2024/03/19-09:37:16.986118 172e13000 Delete type=0 #118
2024/03/20-13:13:57.778459 1718c3000 Recovering log #172
2024/03/20-13:13:57.778967 1718c3000 Delete type=0 #172
2024/03/20-13:13:57.779005 1718c3000 Delete type=3 #171
Binary file removed test/cache/leveldb/MANIFEST-000122
Binary file not shown.
Binary file added test/cache/leveldb/MANIFEST-000175
Binary file not shown.

0 comments on commit 6445abc

Please sign in to comment.