diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fe2bc29..33946df 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,24 +1,14 @@ - name: tests - on: - push - pull_request - jobs: - build: - + test: runs-on: ubuntu-latest - strategy: matrix: - node-version: [18.x] - + node-version: [18, 20, 22] steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci + - uses: actions/checkout@v4 + - run: npm install - run: npm test