-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 943 Bytes
/
build-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'Build all modules'
on:
push:
branches: [magistra]
pull_request:
branches: [magistra]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20.x, 22.x]
os: [macOS-latest, windows-latest, ubuntu-latest]
steps:
- name: Print env
run: uname -a
# https://github.com/actions/checkout
- name: Setup repo
uses: actions/checkout@v4.2.2
# https://github.com/FedericoCarboni/setup-ffmpeg
- uses: FedericoCarboni/setup-ffmpeg@v3.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
id: setup-ffmpeg
# https://github.com/actions/setup-node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Prepare
run: dev/install
- name: Build all modules
run: dev/build