fmt #238
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: 'Build all modules' | |
on: | |
push: | |
branches: [magistra] | |
pull_request: | |
branches: [magistra] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
steps: | |
# https://github.com/actions/checkout | |
- name: Setup repo | |
uses: actions/checkout@v3.5.2 | |
# https://github.com/FedericoCarboni/setup-ffmpeg | |
- uses: FedericoCarboni/setup-ffmpeg@v2 | |
with: | |
# Not strictly necessary, but it may prevent rate limit | |
# errors especially on GitHub-hosted macos machines. | |
token: ${{ secrets.GITHUB_TOKEN }} | |
id: setup-ffmpeg | |
# https://github.com/actions/setup-node | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Prepare | |
run: dev/install | |
- name: Build all modules | |
run: dev/build |