diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 598c5e6..b01aed5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,9 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + # node-version: [14.x, 16.x, 18.x] + node-version: [16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -25,8 +27,9 @@ jobs: # - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} - # node-version: 16.14.0 + # node-version: ${{ matrix.node-version }} + node-version: 16 + check-latest: true cache: 'npm' # The action defaults to search for the dependency file # (package-lock.json or yarn.lock) in the repository root, and uses @@ -34,6 +37,7 @@ jobs: # https://github.com/actions/setup-node#caching-packages-dependencies # cache-dependency-path: "./blog/package-lock.json" cache-dependency-path: './server/package-lock.json' + # cache-dependency-path: functions/package-lock.json - run: npm ci - run: npm run build --if-present - run: npm test