Skip to content
Merged
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
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm test
Comment on lines +16 to +17
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Avoid adding a failing build step to CI

The workflow runs npm run build, but this project currently has no root index.html and vite build aborts with Could not resolve entry module "index.html". (reproducible locally with npm run build). As written, the new CI job will fail on every push or pull request until the build is fixed, effectively blocking CI. Consider omitting the build step or adjusting Vite so it can find the entry file before enabling this check.

Useful? React with 👍 / 👎.

- run: npm run build
Loading