2021-05-14 01:06:59 +00:00
|
|
|
name: Build/release
|
|
|
|
|
|
|
|
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 23:26:16 +00:00
|
|
|
- name: Set up Node
|
2021-05-14 01:06:59 +00:00
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2021-10-15 03:55:31 +00:00
|
|
|
node-version: 16
|
2021-05-14 01:06:59 +00:00
|
|
|
|
2022-01-23 23:26:16 +00:00
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v2
|
2021-05-14 01:06:59 +00:00
|
|
|
with:
|
2022-01-23 23:26:16 +00:00
|
|
|
python-version: 3.x
|
2021-05-14 01:06:59 +00:00
|
|
|
|
2022-01-23 23:26:16 +00:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm ci
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ secrets.github_token }}
|
|
|
|
run: npm run dist
|
|
|
|
shell: bash
|