Skip to content

Commit

Permalink
ci: Update node and fix test job on MacOS (shaka-project#42)
Browse files Browse the repository at this point in the history
Updates node action and used node version to current LTS.
Installs Firefox and Edge on Mac to fix test workflow.
  • Loading branch information
tykus160 authored Dec 18, 2024
1 parent 81917b6 commit 0815508
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-gha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0815508

Please sign in to comment.