use bun as package manager and runner for the docke rcontainer, plus some tweak on the github action

This commit is contained in:
Platane
2025-02-20 19:34:18 +07:00
committed by GitHub
parent 74bc4f0651
commit 85da3901f5
29 changed files with 25796 additions and 10209 deletions

View File

@@ -1,3 +1,4 @@
import { it, expect } from "bun:test";
import * as fs from "fs";
import * as path from "path";
import { createSvg, DrawOptions as DrawOptions } from "..";

View File

@@ -1,3 +1,4 @@
import { it, expect } from "bun:test";
import { minifyCss } from "../css-utils";
it("should minify css", () => {
@@ -6,7 +7,7 @@ it("should minify css", () => {
.c {
color : red ;
}
`)
).toBe(".c{color:red}");
@@ -17,10 +18,10 @@ it("should minify css", () => {
color : red ;
}
# {
# {
animation: linear 10;
}
`)
).toBe(".c{top:0;color:red}#{animation:linear 10}");
});