From 49e06bc9aa8a993abe84444f34d526d7a5b62ea5 Mon Sep 17 00:00:00 2001 From: Unb0rne Date: Tue, 16 Jun 2026 21:30:22 -0400 Subject: [PATCH 1/2] Create node.js.yml --- .github/workflows/node.js.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 000000000..2284b9357 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From d73de1d7362d296b67a3f5dd8834556cf237a300 Mon Sep 17 00:00:00 2001 From: Unb0rne Date: Tue, 16 Jun 2026 21:39:00 -0400 Subject: [PATCH 2/2] fix: correct uuid version from 13.0.0 to 9.0.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2b1d945c3..b777e63ea 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "express": "^5.2.1", "mysql2": "^3.16.1", "sqlite3": "^5.1.7", - "uuid": "^13.0.0", + "uuid": "^9.0.0", "wait-port": "^1.1.0" }, "devDependencies": { @@ -25,4 +25,4 @@ "http-cache-semantics": "4.1.1", "socks": "2.8.1" } -} \ No newline at end of file +}