2022-02-13 23:28:16 -08:00
|
|
|
name: Build
|
2021-05-13 18:06:59 -07:00
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out Git repository
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
|
2022-01-23 15:26:16 -08:00
|
|
|
- name: Set up Node
|
2021-05-13 18:06:59 -07:00
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2021-10-14 20:55:31 -07:00
|
|
|
node-version: 16
|
2021-05-13 18:06:59 -07:00
|
|
|
|
2022-01-23 15:26:16 -08:00
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v2
|
2021-05-13 18:06:59 -07:00
|
|
|
with:
|
2022-01-23 15:26:16 -08:00
|
|
|
python-version: 3.x
|
2021-05-13 18:06:59 -07:00
|
|
|
|
2022-01-23 15:26:16 -08:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm ci
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ secrets.github_token }}
|
|
|
|
run: npm run dist
|
|
|
|
shell: bash
|