diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e178d885a..6e8f29882 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version-file: ".nvmrc" cache: npm cache-dependency-path: package-lock.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 08bc9e44c..3b6952322 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' - name: Generate branch name diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c79ac750..51e3aaa58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,9 @@ jobs: ${{ runner.os }}-node- - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version-file: ".nvmrc" - run: npm ci diff --git a/.nvmrc b/.nvmrc index b8c9fdcbe..7ec56198d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.15.1 \ No newline at end of file +18.17.1 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index dbff8a303..231eb5e95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,8 +47,8 @@ "webpack-merge": "^5.8.0" }, "engines": { - "node": "16.15.1", - "npm": "8.11.0" + "node": "18.17.1", + "npm": "9.6.7" }, "peerDependencies": { "idb-keyval": "^6.2.1", diff --git a/package.json b/package.json index 6699fe3d4..add0814fc 100644 --- a/package.json +++ b/package.json @@ -100,8 +100,8 @@ } }, "engines": { - "node": "16.15.1", - "npm": "8.11.0" + "node": ">=16.15.1 <=18.17.1", + "npm": ">=8.11.0 <=9.6.7" }, "jest": { "preset": "react-native",