Skip to content

Add macos-14 and macos-15 #794

Add macos-14 and macos-15

Add macos-14 and macos-15 #794

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
schedule:
- cron: 0 0 * * *
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Workaround runner image issue
# https://github.com/actions/runner-images/issues/7061
run: sudo chown -R $USER /usr/local/.ghcup
# this ensures that tests do not timeout
- run: ghc --version
- run: ghcup list
- run: npm ci
- run: npm test
- run: npm run build
- run: npx ts-node generate/readme.ts > README.md
- name: Check for uncommitted changes
run: git diff --quiet || (git diff && false)