diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0d91f793..16b2f1bce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: "14" + node-version: "16" cache: "yarn" - name: Cache node_modules diff --git a/.github/workflows/stage-deploy.yml b/.github/workflows/stage-deploy.yml index ba78fed15..ab3b5559f 100644 --- a/.github/workflows/stage-deploy.yml +++ b/.github/workflows/stage-deploy.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: '14' + node-version: '16' - name: Install all yarn packages if: steps.cached-node_modules.outputs.cache-hit != 'true' diff --git a/package.json b/package.json index 6e5f14e74..70574ae57 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,9 @@ "mdn", "mozilla" ], + "engines": { + "node": "^16.0.0 || >=18.0.0" + }, "devDependencies": { "@babel/core": "^7.19.0", "@babel/eslint-parser": "^7.18.9",