Skip to content

Commit

Permalink
ci(build-main): disable failing MacOS runners
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperITMan committed Sep 15, 2022
1 parent 6a105d7 commit 5dad934
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,10 @@ jobs:
build-and-test:
name: Build and test on Node.js ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
node_version: ["12", "14"]
os: [ubuntu-latest]
experimental: [false]
# Mark following configurations as "experimental" and allow to continue in case of error
# See documentation: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations
include:
- os: macos-latest
node_version: 12
experimental: true
- os: macos-latest
node_version: 14
experimental: true

steps:
# Some actions should be executed only in one environment.
Expand Down Expand Up @@ -67,7 +56,7 @@ jobs:
env:
cache-name: cache-node-modules-${{ matrix.node_version }}-${{ matrix.os }}
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
# npm cache files are stored in `~/.npm` on Linux
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
Expand Down

0 comments on commit 5dad934

Please # to comment.