Skip to content

v0.4

v0.4 #279

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
node:
name: Test on Node
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Install Node dependencies
run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test
python:
name: Test on Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd packages/widget
pip install -e .[dev]
- name: Build and lint
run: |
cd packages/widget
ruff ../..