diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc800af..5683d7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - node: [14] + node: [18] os: [ubuntu-latest] steps: @@ -51,19 +51,17 @@ jobs: strategy: fail-fast: false matrix: - node: [14, 16, 18] + node: [18, 20, 22] os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - - name: Install latest npm - run: npm install --global npm@latest + cache: "npm" - name: Install dependencies run: npm ci