diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 802a2e0..7965f1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,15 @@ env: jobs: code-test: + strategy: + max-parallel: 1 + matrix: + os: [ubuntu-latest, LinuxARM64] + name: 'Code Test' timeout-minutes: 20 - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -34,8 +40,9 @@ jobs: examples-test: needs: code-test strategy: + fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest, LinuxARM64] defaults: run: @@ -58,6 +65,7 @@ jobs: deno-version: v2.x - name: setup playwright for browser related test + if: matrix.os != 'LinuxARM64' run: npx playwright install --with-deps && npx playwright install msedge && npx playwright install chrome - name: build driver @@ -266,12 +274,14 @@ jobs: run: rm -rf examples/with-typescript-nextjs - name: node with-javascript-vite + if: matrix.os != 'LinuxARM64' working-directory: examples/with-javascript-vite run: npm i && npx playwright test env: VITE_DATABASE_URL: ${{ secrets.CHINOOK_DATABASE_URL }} - name: bun with-javascript-vite + if: matrix.os != 'LinuxARM64' working-directory: examples/with-javascript-vite run: | if [ "$RUNNER_OS" != "Windows" ]; then @@ -293,16 +303,17 @@ jobs: run: rm -rf examples/with-javascript-vite - name: node with-javascript-browser + if: matrix.os != 'LinuxARM64' working-directory: examples/with-javascript-browser run: npm i && node test.cjs - name: bun with-javascript-browser - if: matrix.os != 'windows-latest' #cannot launch browsers on windows with bash in commonjs? + if: matrix.os != 'windows-latest' && matrix.os != 'LinuxARM64' #cannot launch browsers on windows with bash in commonjs? working-directory: examples/with-javascript-browser run: bun i && bun test.cjs - name: deno with-javascript-browser - if: matrix.os != 'windows-latest' #https://github.com/denoland/deno/issues/23524#issuecomment-2292075726 + if: matrix.os != 'windows-latest' && matrix.os != 'LinuxARM64' #https://github.com/denoland/deno/issues/23524#issuecomment-2292075726 uses: nick-fields/retry@v3 #doing this step with the retry action because sometimes in macos it gets stuck without failing with: timeout_seconds: 45 @@ -315,6 +326,7 @@ jobs: rn-ios-test: needs: code-test strategy: + fail-fast: false matrix: os: [macos-13, macos-14, macos-15] # macos-12 for ios 15 it's going to be deprecated, it's also using an old version of xcode that is not compatible with react native include: @@ -373,6 +385,7 @@ jobs: rn-android-test: needs: code-test strategy: + fail-fast: false matrix: api-level: [25, 26, 29, 31, 35] #app fail: android 5; driver fail: android 6 and android 7 include: @@ -440,6 +453,7 @@ jobs: expo-ios-test: needs: code-test strategy: + fail-fast: false matrix: os: [macos-13, macos-14, macos-15] # macos-12 for ios 15 it's going to be deprecated, it's also using an old version of xcode that is not compatible with react native include: @@ -498,6 +512,7 @@ jobs: expo-android-test: needs: code-test strategy: + fail-fast: false matrix: api-level: [25, 26, 29, 31, 35] #app fail: android 5; driver fail: android 6 and android 7 include: diff --git a/bun.lockb b/bun.lockb index 62f289a..920016b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package-lock.json b/package-lock.json index fb5defe..0f8ebc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "devDependencies": { "@types/jest": "^29.5.14", "@types/lz4": "^0.6.4", - "@types/node": "^22.10.2", + "@types/node": "^22.13.1", "@types/whatwg-url": "^13.0.0", "dotenv": "^16.4.7", "dotenv-cli": "^8.0.0", @@ -29,9 +29,9 @@ "sqlite3": "^5.1.7", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", - "typedoc": "^0.27.5", - "typedoc-plugin-markdown": "^4.3.3", - "typescript": "^5.7.2", + "typedoc": "^0.27.6", + "typedoc-plugin-markdown": "^4.4.1", + "typescript": "^5.7.3", "webpack": "^5.97.1", "webpack-cli": "^6.0.1" }, @@ -8558,9 +8558,10 @@ } }, "node_modules/@types/node": { - "version": "22.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", - "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", + "version": "22.13.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.1.tgz", + "integrity": "sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==", + "license": "MIT", "dependencies": { "undici-types": "~6.20.0" } @@ -15646,10 +15647,11 @@ } }, "node_modules/typedoc": { - "version": "0.27.5", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.27.5.tgz", - "integrity": "sha512-x+fhKJtTg4ozXwKayh/ek4wxZQI/+2hmZUdO2i2NGDBRUflDble70z+ewHod3d4gRpXSO6fnlnjbDTnJk7HlkQ==", + "version": "0.27.6", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.27.6.tgz", + "integrity": "sha512-oBFRoh2Px6jFx366db0lLlihcalq/JzyCVp7Vaq1yphL/tbgx2e+bkpkCgJPunaPvPwoTOXSwasfklWHm7GfAw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@gerrit0/mini-shiki": "^1.24.0", "lunr": "^2.3.9", @@ -15668,10 +15670,11 @@ } }, "node_modules/typedoc-plugin-markdown": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.3.3.tgz", - "integrity": "sha512-kESCcNRzOcFJATLML2FoCfaTF9c0ujmbZ+UXsJvmNlFLS3v8tDKfDifreJXvXWa9d8gUcetZqOqFcZ/7+Ba34Q==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.4.1.tgz", + "integrity": "sha512-fx23nSCvewI9IR8lzIYtzDphETcgTDuxKcmHKGD4lo36oexC+B1k4NaCOY58Snqb4OlE8OXDAGVcQXYYuLRCNw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 18" }, @@ -15702,9 +15705,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "devOptional": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 53c24cd..3a0e629 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sqlitecloud/drivers", - "version": "1.0.400", + "version": "1.0.401", "description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -59,7 +59,7 @@ "devDependencies": { "@types/jest": "^29.5.14", "@types/lz4": "^0.6.4", - "@types/node": "^22.10.2", + "@types/node": "^22.13.1", "@types/whatwg-url": "^13.0.0", "dotenv": "^16.4.7", "dotenv-cli": "^8.0.0", @@ -70,9 +70,9 @@ "sqlite3": "^5.1.7", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", - "typedoc": "^0.27.5", - "typedoc-plugin-markdown": "^4.3.3", - "typescript": "^5.7.2", + "typedoc": "^0.27.6", + "typedoc-plugin-markdown": "^4.4.1", + "typescript": "^5.7.3", "webpack": "^5.97.1", "webpack-cli": "^6.0.1" },