diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67c58ec07..37af34699 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x, 22.x] + node-version: [22.x, 24.x] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -49,7 +49,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x, 22.x] + node-version: [22.x, 24.x] hyperscaler: [AWS, AZURE, GCP] scanner-auth: [basic, mtls] steps: @@ -73,7 +73,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x, 22.x] + node-version: [22.x, 24.x] services: postgres: image: postgres:14.5 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/package.json b/package.json index 7bbd54b35..d46ccf6c5 100644 --- a/package.json +++ b/package.json @@ -19,31 +19,22 @@ "test": "npx jest --silent=true", "test:postgres": "CDS_ENV=pg npx jest --silent=true", "deploy:postgres": "cd ./tests/incidents-app && cds deploy --profile pg", - "prepare": "husky" + "prepare": "git config core.hooksPath .husky" }, "dependencies": { "@aws-sdk/client-s3": "^3.993.0", "@aws-sdk/lib-storage": "^3.993.0", "@azure/storage-blob": "^12.31.0", - "@google-cloud/storage": "^7.19.0", - "axios": "^1.13.5" + "@google-cloud/storage": "^7.19.0" }, "devDependencies": { - "@cap-js/cds-test": ">=0", - "@cap-js/cds-types": "^0.17.0", - "@cap-js/hana": "^2.7.0", - "@cap-js/sqlite": "^2", - "@eslint/js": "^10", - "eslint": "^10", - "express": "^4.18.2", - "husky": "^9.1.7" + "@cap-js/cds-test": "^1", + "@cap-js/hana": ">=2.7", + "@cap-js/sqlite": ">=2" }, "peerDependencies": { "@sap/cds": ">=8" }, - "engines": { - "node": ">=18.0.0" - }, "cds": { "requires": { "malwareScanner": {