From f9ce73c63c6436c4493a81ca2dddd9eb27774699 Mon Sep 17 00:00:00 2001 From: Florens Verschelde <243601+fvsch@users.noreply.github.com> Date: Mon, 6 Nov 2023 14:26:33 +0100 Subject: [PATCH] chore(ci): update Node versions used in CI test (#6) --- .github/workflows/main.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c1870cf..9e2de86 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,7 +1,10 @@ name: CI + on: - - push - - pull_request + pull_request: + push: + branches: [main] + jobs: test: name: Node.js ${{ matrix.node-version }} @@ -9,13 +12,10 @@ jobs: strategy: fail-fast: false matrix: - node-version: - - 14 - - 12 - - 10 + node-version: [20, 18] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm install