diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 35b6ccc..9dd01bc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -10,11 +10,11 @@ on: branches: [ "main" ] jobs: - build-14: + build-16: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x] + node-version: [16.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -25,12 +25,12 @@ jobs: - run: npm ci - run: npm run lint - run: npm run test - build-16: - needs: build-14 + build-18: + needs: [build-16] runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -41,12 +41,12 @@ jobs: - run: npm ci - run: npm run lint - run: npm run test - build-18: - needs: [build-14, build-16] + build-20: + needs: [build-16, build-18] runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-versions: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -57,3 +57,4 @@ jobs: - run: npm ci - run: npm run lint - run: npm run test +