diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c6f13e7b..376e7285 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -14,7 +14,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json - name: Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 99825329..9eae0c38 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json - name: Install run: bun install @@ -35,7 +37,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json - name: Install run: bun install @@ -71,7 +75,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json - name: Install run: bun install diff --git a/bun.lockb b/bun.lockb index 2b8bef37..a9013dc6 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 454f79a3..cb3a1e51 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "cypress-codegen", - "packageManager": "bun@1.1.8", - "main": "dist/index.cjs", - "types": "dist/index.d.cts", + "packageManager": "bun@1.1.17", + "main": "dist/index.js", + "types": "dist/index.d.ts", "bin": { - "cypress-codegen": "dist/cli.cjs" + "cypress-codegen": "dist/cli.js" }, "files": [ "dist", @@ -30,7 +30,7 @@ "prettier": "3.3.2" }, "peerDependencies": { - "cypress": ">=12" + "cypress": ">=13" }, "devDependencies": { "@swc/jest": "0.2.36",