From 7bd19c6fa8c042695981ebd3e17b6cc7bcd4b6bc Mon Sep 17 00:00:00 2001 From: kevcenteno Date: Tue, 24 Oct 2023 12:11:25 -0400 Subject: [PATCH] Update workflow node version to v20 --- .github/workflows/production.yml | 10 +++++----- .github/workflows/staging.yml | 12 ++++++------ functions/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index f72891269..70e2a8e87 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies id: cache-node-modules @@ -87,7 +87,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 @@ -117,7 +117,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached build uses: actions/cache@v3 @@ -153,7 +153,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached build uses: actions/cache@v3 @@ -198,7 +198,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index fe81aee09..263e08119 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 @@ -89,7 +89,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 @@ -113,7 +113,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 @@ -142,7 +142,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached build uses: actions/cache@v3 @@ -198,7 +198,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached build uses: actions/cache@v3 @@ -239,7 +239,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - name: Get cached dependencies uses: actions/cache@v3 diff --git a/functions/package.json b/functions/package.json index 5dc68d096..55c651b51 100644 --- a/functions/package.json +++ b/functions/package.json @@ -8,7 +8,7 @@ "typescript": "^4.8.4" }, "engines": { - "node": "18" + "node": ">=18" }, "main": "lib/index.js", "name": "functions", diff --git a/package-lock.json b/package-lock.json index d168909fd..513a5f366 100644 --- a/package-lock.json +++ b/package-lock.json @@ -153,7 +153,7 @@ "xml2js": "^0.5.0" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "workspaces": { @@ -172,7 +172,7 @@ "typescript": "^4.8.4" }, "engines": { - "node": "18" + "node": ">=18" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 445c38e20..115952af7 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "xml2js": "^0.5.0" }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "license": "MIT",