From 9b9525d1b466c0a8660b3d1b677c8f5764fe54cf Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 20 Feb 2024 19:25:01 +0100 Subject: [PATCH] Fix GitHub Actions Workflow --- .github/workflows/test.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09c3566..8dd9afa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,25 +3,24 @@ name: tests on: push jobs: - tests: - runs-on: ubuntu-latest + tests: + runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 19.x] + strategy: + matrix: + node-version: [18.x, 20.x] - name: Node ${{ matrix.node-version }} + name: Node ${{ matrix.node-version }} - steps: - - uses: actions/checkout@v4 + steps: + - uses: actions/checkout@v4 - - uses: actions/setup-node@v4.0.1 - with: - node-version: ${{ matrix.node-version }} + - uses: actions/setup-node@v4.0.1 + with: + node-version: ${{ matrix.node-version }} - - name: Install testing dependencies - run: yarn install - - - name: Run Tests - run: yarn test + - name: Install testing dependencies + run: npm install + - name: Run Tests + run: npm test