diff --git a/.bunfig.toml b/.bunfig.toml new file mode 100644 index 0000000000000..d6bb75b00762b --- /dev/null +++ b/.bunfig.toml @@ -0,0 +1,3 @@ +[install.lockfile] + +save = false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b60aad7f9fbcc..c91f06f2e8457 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,24 +7,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' + - name: Install bun + uses: oven-sh/setup-bun@v1 - name: Install deps - run: pnpm install + run: bun i - name: lint - run: pnpm run lint + run: bun run lint - name: Test and coverage - run: pnpm run test:coverage + run: bun run test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/vercel.json b/vercel.json index 52de503e73b53..d4f8d59f0ad79 100644 --- a/vercel.json +++ b/vercel.json @@ -1,3 +1,3 @@ { - "installCommand": "pnpm i" -} \ No newline at end of file + "installCommand": "pnpm i -g bun && bun i" +}