diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0970ede..7fc5d58 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Install web dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f4d0b5..2645f58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4.0.1 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v4 @@ -28,7 +28,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4.0.1 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v4 @@ -47,7 +47,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4.0.1 with: - node-version: '18' + node-version: '20' - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/update-firestore.yml b/.github/workflows/update-firestore.yml index 54841e8..72d2b53 100644 --- a/.github/workflows/update-firestore.yml +++ b/.github/workflows/update-firestore.yml @@ -1,4 +1,4 @@ -name: "{Reusable} Update Firestore Test Dependencies" +name: '{Reusable} Update Firestore Test Dependencies' on: workflow_call: secrets: @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: "18" + node-version: '20' - name: Checkout code uses: actions/checkout@v4 @@ -33,9 +33,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: - token: "${{ secrets.GH_PAT }}" - add-paths: "firestore/package*.json" + token: '${{ secrets.GH_PAT }}' + add-paths: 'firestore/package*.json' commit-message: npm update (firestore) title: npm update (firstore) branch: update-firestore - author: "github-actions " + author: 'github-actions ' diff --git a/.github/workflows/update-func.yml b/.github/workflows/update-func.yml index 7416c58..c099af3 100644 --- a/.github/workflows/update-func.yml +++ b/.github/workflows/update-func.yml @@ -1,4 +1,4 @@ -name: "{Reusable} Update Cloud Functions dependencies" +name: '{Reusable} Update Cloud Functions dependencies' on: workflow_call: secrets: @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: "18" + node-version: '20' - name: Checkout code uses: actions/checkout@v4 @@ -33,9 +33,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: - token: "${{ secrets.GH_PAT }}" - add-paths: "functions/package*.json" + token: '${{ secrets.GH_PAT }}' + add-paths: 'functions/package*.json' commit-message: npm update (functions) title: npm update (functions) branch: update-functions - author: "github-actions " + author: 'github-actions ' diff --git a/.github/workflows/update-web.yml b/.github/workflows/update-web.yml index 0ee16a3..6ceaa8d 100644 --- a/.github/workflows/update-web.yml +++ b/.github/workflows/update-web.yml @@ -1,4 +1,4 @@ -name: "{Reusable} Update Web dependencies" +name: '{Reusable} Update Web dependencies' on: workflow_call: secrets: @@ -24,7 +24,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: "18" + node-version: '20' - name: Cache node deps uses: actions/cache@v4 @@ -32,7 +32,9 @@ jobs: cache-name: cache-web-node-deps with: path: ~/.npm - key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('web/package-lock.json') }} + key: + ${{ runner.os }}-${{ env.cache-name }}-${{ + hashFiles('web/package-lock.json') }} - name: npm update run: | @@ -44,9 +46,9 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: - token: "${{ secrets.GH_PAT }}" - add-paths: "web/package*.json" + token: '${{ secrets.GH_PAT }}' + add-paths: 'web/package*.json' commit-message: npm update (web) title: npm update (web) branch: update-web - author: "github-actions " + author: 'github-actions ' diff --git a/.nvmrc b/.nvmrc index 3c03207..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20 diff --git a/data/js/package-lock.json b/data/js/package-lock.json index ed916c6..4cb25c0 100644 --- a/data/js/package-lock.json +++ b/data/js/package-lock.json @@ -25,9 +25,6 @@ "ts-api-utils": "1.3.0", "ts-jest": "29.1", "typescript": "5.4.2" - }, - "engines": { - "node": ">= 18.12 <19" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/data/js/package.json b/data/js/package.json index 1d69a1e..671dd53 100644 --- a/data/js/package.json +++ b/data/js/package.json @@ -1,9 +1,6 @@ { "name": "open-ics-data", "type": "module", - "engines": { - "node": ">= 18.12 <19" - }, "dependencies": { "firebase-admin": "12.0.0", "node-xlsx": "^0.23.0", diff --git a/firestore/package-lock.json b/firestore/package-lock.json index 32e8769..b204a7e 100644 --- a/firestore/package-lock.json +++ b/firestore/package-lock.json @@ -11,7 +11,7 @@ "mocha": "10.4.0" }, "engines": { - "node": ">= 18" + "node": ">= 20" } }, "node_modules/@apidevtools/json-schema-ref-parser": { diff --git a/firestore/package.json b/firestore/package.json index d13785a..10acfa2 100644 --- a/firestore/package.json +++ b/firestore/package.json @@ -3,7 +3,7 @@ "test": "firebase emulators:exec --project=open-ics --only=firestore 'mocha --exit firestore.spec.js'" }, "engines": { - "node": ">= 18" + "node": ">= 20" }, "devDependencies": { "@firebase/rules-unit-testing": "3.0.3", diff --git a/functions/package-lock.json b/functions/package-lock.json index 1b1480b..a5d69de 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -23,7 +23,7 @@ "typescript": "5.4.5" }, "engines": { - "node": "18" + "node": "20" } }, "node_modules/@ampproject/remapping": { diff --git a/functions/package.json b/functions/package.json index cb51ebd..5272a78 100644 --- a/functions/package.json +++ b/functions/package.json @@ -12,7 +12,7 @@ "test": "npm run build && mocha --reporter spec ./build/ --recursive" }, "engines": { - "node": "18" + "node": "20" }, "main": "build/src/index.js", "dependencies": { diff --git a/web/package-lock.json b/web/package-lock.json index 3b94716..59437c4 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -40,7 +40,7 @@ "typescript": "5.4.5" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@ampproject/remapping": { diff --git a/web/package.json b/web/package.json index 52cc7f5..00d2acf 100644 --- a/web/package.json +++ b/web/package.json @@ -10,7 +10,7 @@ }, "private": true, "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "@angular/animations": "18.0.2",