maybe fix - dont use macos-latest #779
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" | |
on: | |
push: | |
branches: "**" | |
jobs: | |
build-job: | |
runs-on: ${{ matrix.os }} | |
name: "Build and test ${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-2019, macos-12] | |
steps: | |
- name: "Setup node" | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18" | |
- name: "Checkout source code" | |
uses: "actions/checkout@v2" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install Python setup tools | |
run: | | |
pip install setuptools | |
- name: "Install modules" | |
run: "npm run install:ci" | |
- name: "Test" | |
run: "npm run jest:ci" | |
- name: "Install distutils" | |
run: "pip install setuptools" | |
- name: "Build (npm)" | |
run: "npm run build" |