GitHub CI: Remove macos-12, add macos-15 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: language-bh CI | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-13, macos-14, macos-15 ] | |
node-version: [20] | |
name: "Build: ${{ matrix.os }} node ${{ matrix.node-version }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Generate grammar JSON files | |
run: make grammars | |
- name: Run tests | |
run: make test | |
# Save logs on failure so we can diagnose | |
- name: Archive logs | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Build ${{ matrix.os }} node ${{ matrix.node-version }} | |
path: /home/runner/.npm/_logs/ |