Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine tasks and simplify TypeScript CI #1018

Merged
merged 20 commits into from
Jan 29, 2025
Merged

Refine tasks and simplify TypeScript CI #1018

merged 20 commits into from
Jan 29, 2025

Conversation

kachick
Copy link
Owner

@kachick kachick commented Jan 28, 2025

  • Replace cargo-make with deno task and dax
  • Directly use esbuild CLI via Nix instead of npm/pnpm package manager installation
    This way is not recommended in esbuild official docs, however will be good for this repository
  • Takeover TypeScript CI by Nix
    This is a trade-off problem. Inlined setup-* actions made 10~20sec for each jobs, on the other hand, using Nix CI made 50~60sec in 1 job
    I prefer to keep simple implementation in this time.
  • Optimize the slow Nix CI with dropping external flake and magic-nix-cache-action

scripts/build.ts Outdated
import * as esbuild from 'esbuild';
#!/usr/bin/env -S deno run --allow-all

import * as esbuild from 'npm:esbuild';
Copy link
Owner Author

Choose a reason for hiding this comment

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

@kachick kachick marked this pull request as draft January 29, 2025 11:06
@kachick kachick changed the title Replace cargo-make and pnpm tasks with deno + dax Refine tasks and simplify TypeScript CI Jan 29, 2025
@kachick kachick marked this pull request as ready for review January 29, 2025 12:32
@kachick kachick merged commit 1d0d271 into main Jan 29, 2025
18 checks passed
@kachick kachick deleted the deno-tasks branch January 29, 2025 12:33
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.

1 participant