Skip to content

Add CI workflow to build the frontend - #4

Merged
placek merged 2 commits into
masterfrom
claude/pericope-loading-spinner-g6gaj5
Jul 21, 2026
Merged

Add CI workflow to build the frontend#4
placek merged 2 commits into
masterfrom
claude/pericope-loading-spinner-g6gaj5

Conversation

@placek

@placek placek commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a GitHub Actions workflow that builds the frontend exactly as make frontend-build does (cd frontend && purs-nix bundle), running purs-nix from the Nix flake dev shell defined in frontend/flake.nix.

Details

  • Installs Nix via cachix/install-nix-action, enabling the nix-command and flakes experimental features so nix develop works.
  • Builds with nix develop ./frontend --command make frontend-build.
  • Uploads the produced frontend/main.js as a build artifact (if-no-files-found: error).

Triggers

  • Push to master
  • Pull requests
  • Manual workflow_dispatch

Concurrency cancels superseded runs on non-master refs while leaving master runs to complete.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 21, 2026 09:17
Runs the same build as `make frontend-build` (cd frontend && purs-nix
bundle) inside the Nix flake dev shell, on pushes to master and on pull
requests. Uploads the produced main.js bundle as an artifact.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018RKTLS5Y44izPiDdXpG43k
Replace the DeterminateSystems installer and magic cache with
cachix/install-nix-action, enabling the nix-command and flakes
experimental features so `nix develop` works.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018RKTLS5Y44izPiDdXpG43k
@placek
placek merged commit e0803c8 into master Jul 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants