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
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ jobs:
- name: Build CSS
run: npm run build-css

- name: Build JS
run: npm run build-js

- name: Setup | Rust
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -303,6 +306,9 @@ jobs:
- name: Build CSS
run: npm run build-css

- name: Build JS
run: npm run build-js

- name: Setup | Rust
uses: dtolnay/rust-toolchain@master
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Build CSS
run: npm run build-css

- name: Build JS
run: npm run build-js

- name: Check formatting
run: cargo fmt -- --check

Expand Down Expand Up @@ -106,6 +109,7 @@ jobs:
run: |
cargo build
npm run build-css
npm run build-js

- name: Cache Playwright browsers
uses: actions/cache@v4
Expand Down Expand Up @@ -170,6 +174,9 @@ jobs:
- name: Build CSS
run: npm run build-css

- name: Build JS
run: npm run build-js

- name: Build
run: cargo build --verbose

Expand Down Expand Up @@ -219,6 +226,9 @@ jobs:
- name: Build CSS
run: npm run build-css

- name: Build JS
run: npm run build-js

- name: Generate code coverage
run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml

Expand Down
10 changes: 10 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ make build # Includes CSS compilation
make css
npm run build-css

# Build JS only
make js
npm run build-js

# Build specific workspace member
cargo build -p cookcli

Expand Down Expand Up @@ -61,6 +65,12 @@ npm run build-css

# Watch CSS changes during development
npm run watch-css

# Build JS for production
npm run build-js

# Watch JS changes during development
npm run watch-js
```

### Linting and Formatting
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default defineConfig({
webServer: {
command: process.env.CI
? './target/debug/cook server ./seed --port 9080' // In CI, use pre-built binary
: 'npm run build-css && cargo build && ./target/debug/cook server ./seed --port 9080', // Local dev
: 'npm run build-css && npm run build-js && cargo build && ./target/debug/cook server ./seed --port 9080', // Local dev
url: 'http://localhost:9080',
reuseExistingServer: !process.env.CI,
timeout: 60 * 1000, // 1 minute should be enough with pre-built binary
Expand Down
Loading