From 08155083d4a523dae60101426d71a81ba74e6e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Tyczy=C5=84ski?= Date: Wed, 18 Dec 2024 17:40:38 +0100 Subject: [PATCH] ci: Update node and fix test job on MacOS (#42) Updates node action and used node version to current LTS. Installs Firefox and Edge on Mac to fix test workflow. --- .github/workflows/test-gha.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-gha.yaml b/.github/workflows/test-gha.yaml index fcca76a..da0cea6 100644 --- a/.github/workflows/test-gha.yaml +++ b/.github/workflows/test-gha.yaml @@ -30,11 +30,17 @@ jobs: ref: ${{ github.ref }} persist-credentials: false - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 12 + node-version: 22 registry-url: 'https://registry.npmjs.org' + # Firefox and Edge might be missing on Mac CI images. + - name: 'Install Firefox & Edge on Mac' + timeout-minutes: 5 + if: matrix.os == 'macos-latest' + run: brew install --cask firefox microsoft-edge + - run: npm ci - run: node ./main.js