formats update #722
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: '16' | |
- name: "Checkout source code" | |
uses: "actions/checkout@v2" | |
- 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" | |