diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0deb7c3..e945968 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,21 +11,24 @@ on: branches: - 'master' + # Manually start a Workflow + workflow_dispatch: + jobs: test: name: Node.js v${{ matrix.nodejs }} runs-on: ubuntu-latest strategy: matrix: - nodejs: [8, 10, 12, 14] + nodejs: [8, 10, 12, 14, 16, 18, 20, 22] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: ${{ matrix.nodejs }} - name: (env) cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-${{ matrix.nodejs }}-${{ hashFiles('**/package-lock.json') }}