From 9801925ea039d21254b5871dc7e797dd5b899ef0 Mon Sep 17 00:00:00 2001 From: kenneth Date: Fri, 16 Jan 2026 23:51:05 +0000 Subject: [PATCH 1/2] Add test script and CI workflow - Add top-level test script that runs tests across all workspaces - Add GitHub Actions workflow to run tests on PRs and merges to master Co-authored-by: Ona --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ package.json | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..2fbcf46 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Test + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Run tests + run: bun test diff --git a/package.json b/package.json index 65fe13c..58a7844 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ ], "type": "module", "scripts": { + "test": "bun run --filter '*' test", "lint": "oxlint .", "lint:fix": "oxlint --fix .", "format": "oxfmt --write .", From 689878ab71708c0bd64ab2e554b6556bb295a918 Mon Sep 17 00:00:00 2001 From: kenneth Date: Fri, 16 Jan 2026 23:52:09 +0000 Subject: [PATCH 2/2] Fix lockfile package name mismatch Co-authored-by: Ona --- bun.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 1690925..c9151d8 100644 --- a/bun.lock +++ b/bun.lock @@ -14,11 +14,13 @@ }, }, "packages/aris-core": { - "name": "aris-core", + "name": "@aris/core", "version": "0.0.0", }, }, "packages": { + "@aris/core": ["@aris/core@workspace:packages/aris-core"], + "@oxfmt/darwin-arm64": ["@oxfmt/darwin-arm64@0.24.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-aYXuGf/yq8nsyEcHindGhiz9I+GEqLkVq8CfPbd+6VE259CpPEH+CaGHEO1j6vIOmNr8KHRq+IAjeRO2uJpb8A=="], "@oxfmt/darwin-x64": ["@oxfmt/darwin-x64@0.24.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-vs3b8Bs53hbiNvcNeBilzE/+IhDTWKjSBB3v/ztr664nZk65j0xr+5IHMBNz3CFppmX7o/aBta2PxY+t+4KoPg=="], @@ -55,8 +57,6 @@ "@types/node": ["@types/node@25.0.9", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-/rpCXHlCWeqClNBwUhDcusJxXYDjZTyE8v5oTO7WbL8eij2nKhUeU89/6xgjU7N4/Vh3He0BtyhJdQbDyhiXAw=="], - "aris-core": ["aris-core@workspace:packages/aris-core"], - "bun-types": ["bun-types@1.3.6", "", { "dependencies": { "@types/node": "*" } }, "sha512-OlFwHcnNV99r//9v5IIOgQ9Uk37gZqrNMCcqEaExdkVq3Avwqok1bJFmvGMCkCE0FqzdY8VMOZpfpR3lwI+CsQ=="], "oxfmt": ["oxfmt@0.24.0", "", { "dependencies": { "tinypool": "2.0.0" }, "optionalDependencies": { "@oxfmt/darwin-arm64": "0.24.0", "@oxfmt/darwin-x64": "0.24.0", "@oxfmt/linux-arm64-gnu": "0.24.0", "@oxfmt/linux-arm64-musl": "0.24.0", "@oxfmt/linux-x64-gnu": "0.24.0", "@oxfmt/linux-x64-musl": "0.24.0", "@oxfmt/win32-arm64": "0.24.0", "@oxfmt/win32-x64": "0.24.0" }, "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-UjeM3Peez8Tl7IJ9s5UwAoZSiDRMww7BEc21gDYxLq3S3/KqJnM3mjNxsoSHgmBvSeX6RBhoVc2MfC/+96RdSw=="],