diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 2628942..310a96e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,8 +12,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup - - run: bun run build - working-directory: npm - run: bun check working-directory: npm - run: bun test diff --git a/npm/package.json b/npm/package.json index 827c358..0587393 100644 --- a/npm/package.json +++ b/npm/package.json @@ -38,7 +38,8 @@ "scripts": { "check": "check -b ../node_modules/.bin", "dev": "bun test --watch", - "build": "bun build.ts" + "build": "bun build.ts", + "prepare": "bun run build" }, "dependencies": { "@antfu/utils": "^0.7.7",