2022-02-14 02:28:16 -05:00
|
|
|
name: Build
|
2021-05-13 21:06:59 -04:00
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
2023-03-28 21:40:33 -04:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
2021-05-13 21:06:59 -04:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out Git repository
|
2023-03-24 16:57:34 -04:00
|
|
|
uses: actions/checkout@v3
|
2021-05-13 21:06:59 -04:00
|
|
|
|
2022-01-23 18:26:16 -05:00
|
|
|
- name: Set up Node
|
2023-03-24 16:57:34 -04:00
|
|
|
uses: actions/setup-node@v3
|
2021-05-13 21:06:59 -04:00
|
|
|
with:
|
2024-02-22 11:42:13 -05:00
|
|
|
node-version: 20
|
2021-05-13 21:06:59 -04:00
|
|
|
|
2022-01-23 18:26:16 -05:00
|
|
|
- name: Set up Python
|
2023-03-24 16:57:34 -04:00
|
|
|
uses: actions/setup-python@v4
|
2021-05-13 21:06:59 -04:00
|
|
|
with:
|
2022-01-23 18:26:16 -05:00
|
|
|
python-version: 3.x
|
2021-05-13 21:06:59 -04:00
|
|
|
|
2022-01-23 18:26:16 -05:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm ci
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
env:
|
2023-03-28 21:40:33 -04:00
|
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-01-23 18:26:16 -05:00
|
|
|
run: npm run dist
|
|
|
|
shell: bash
|