Skip to content

feat: add commonJs option #176

feat: add commonJs option

feat: add commonJs option #176

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [main, next]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm test
- run: npm run examples
- run: npx playwright install --with-deps
- run: npx playwright test
- run: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: deploy examples
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .github/capri
clean: true