Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ updates:
groups:
dev-dependencies:
dependency-type: development
- package-ecosystem: npm
directory: /demo
schedule:
interval: weekly
groups:
demo-dependencies:
patterns:
- '*'
- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

demo:
name: Demo typecheck & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
# The demo aliases the package to ../src, so the root install has to
# exist for its dependencies to resolve.
- run: npm ci
- run: npm --prefix demo ci
- run: npm --prefix demo run typecheck
- run: npm --prefix demo run build

test:
name: Test (Node ${{ matrix.node }}, React ${{ matrix.react }})
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"typecheck": "tsc --noEmit",
"build": "vite build",
"preview": "vite preview"
},
Expand Down
Loading