diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6d69d580f..6a80d0875 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -33,7 +33,7 @@ jobs: python-version: '3.10' - uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 - name: Install Python Dependencies run: pip install -r requirements/ci.txt - name: Install Node Dependencies diff --git a/docker-compose.yml b/docker-compose.yml index 33a2bc6a9..db07cce59 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,7 +59,7 @@ services: node: init: true - image: node:16.20.0-alpine + image: node:18.20-alpine volumes: - ./:/app working_dir: /app diff --git a/package-lock.json b/package-lock.json index fbb2dd9e1..8b97264e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -72,6 +72,9 @@ "webpack": "^5.82.0", "webpack-bundle-analyzer": "^4.8.0", "webpack-cli": "^5.0.2" + }, + "engines": { + "node": "18.x" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 933e15d7e..87f226492 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "newamerica-cms", "version": "1.0.0", + "engines": { + "node": "18.x" + }, "description": "Custom Content Management System (CMS) built for New America", "main": "index.js", "scripts": {