Skip to content

Release v0.2.3

Release v0.2.3 #7

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run build
- name: Verify dist artifacts
run: |
test -f dist/frame.js
test -f dist/frame.umd.cjs
test -f dist/index.d.ts
test -f dist/frame.css
- run: npm test
- name: Smoke test npm pack
run: npm pack --dry-run
- uses: actions/upload-artifact@v7
with:
name: dist
path: dist
retention-days: 7
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e