Skip to content

Commit

Permalink
chore(ci): drop macOS from build matrix
Browse files Browse the repository at this point in the history
This package is not doing anything that should break uniquely on macOS, so running the builds there do not do much more than burn compute and wall clock time.
  • Loading branch information
boneskull committed Oct 31, 2024
1 parent e2d6f21 commit 23f0f4b
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/nodejs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
os: [windows-latest, ubuntu-latest]
node: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
env:
CI: true

0 comments on commit 23f0f4b

Please sign in to comment.