diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 0223e70..c396091 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -24,6 +24,7 @@ jobs: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: + node-version-file: "package.json" node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci