Skip to content

chore(release): 1.2.0 #24

chore(release): 1.2.0

chore(release): 1.2.0 #24

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: pnpm
# The Ableton Extensions SDK is a local beta tarball that is not published
# to npm and is intentionally not committed. CI verifies the SDK-independent
# core: the notation modules, the unit tests, and the webview bundle.
- name: Drop the SDK dependencies for CI
run: |
node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));for(const k of ['dependencies','devDependencies']){if(p[k]){delete p[k]['@ableton-extensions/sdk'];delete p[k]['@ableton-extensions/cli'];}}fs.writeFileSync('package.json',JSON.stringify(p,null,2));"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Unit tests
run: pnpm test
- name: Type-check the webview
run: pnpm exec tsc -p ui/tsconfig.json
- name: Build the webview bundle
run: pnpm run build:ui