diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65f7f36..72b2ece 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2.3.1 - uses: actions/setup-node@v1 with: - node-version: 'lts/*' + node-version: 18 - run: npm ci --no-optional - run: npm test diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f291d16..5811ac4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 'lts/*' + node-version: 18 cache: 'npm' - name: Build diff --git a/package.json b/package.json index 6e418bc..4a16a36 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,10 @@ "react-app/jest" ] }, + "engines": { + "node": "18.x", + "npm": "8.x" + }, "browserslist": { "production": [ ">0.2%",