diff --git a/.github/workflows/ci-bun.yml b/.github/workflows/ci-bun.yml new file mode 100644 index 00000000..95339e94 --- /dev/null +++ b/.github/workflows/ci-bun.yml @@ -0,0 +1,14 @@ +name: ci-bun + +on: + push: + branches: + - main + + pull_request: + branches: + - main + +jobs: + ci-bun: + uses: eslint/workflows/.github/workflows/ci-bun.yml@lumirlumir-patch-1 diff --git a/build.js b/build.js new file mode 100644 index 00000000..2a4a6de0 --- /dev/null +++ b/build.js @@ -0,0 +1,11 @@ +//------------------------------------------------------------------------------ +// Imports +//------------------------------------------------------------------------------ + +import { execSync } from "node:child_process"; + +//------------------------------------------------------------------------------ +// Main Script +//------------------------------------------------------------------------------ + +execSync("npm run build --workspaces --if-present", { stdio: "inherit" }); diff --git a/package.json b/package.json index 1a47d83c..ec7d90ee 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "test": "npm test --workspaces --if-present", - "build": "npm run build --workspaces --if-present", + "build": "node build.js", "lint": "eslint", "lint:fix": "eslint --fix" },