Files

39 lines
1021 B
YAML

name: check
on:
push:
pull_request:
jobs:
local-gate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
python -m pip install \
-e packages/jwebot-sdk \
-e packages/jwebot-official-extensions \
-e packages/jwebot-kernel \
-e packages/jwebot-extension-host
- name: Run local gate
run: ./tools/check-local.sh
- name: Build example release
run: |
mkdir -p dist
python tools/package-plugin.py examples/hello-command --output dist
python tools/verify-release.py \
"$(find dist -maxdepth 1 -name '*.tar.gz')" \
"$(find dist -maxdepth 1 -name '*.release.json')"