From c9ab38ab6b69f8ee5e372a5e6e47a6db6f7a0fd0 Mon Sep 17 00:00:00 2001 From: Fergus McDowall Date: Mon, 2 Sep 2024 10:15:09 +0200 Subject: [PATCH] fix actions --- .github/workflows/tests.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) 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