From c49f76528efa3dfb077a634f441fba34d258484e Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Fri, 11 Oct 2024 06:10:45 -0700 Subject: [PATCH] chore(ci): pnpm -> bun --- .github/workflows/ci.yml | 19 +++++++++---------- package.json | 3 +++ pnpm-workspace.yaml | 2 -- 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 pnpm-workspace.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fc0f0c..db25579 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,32 +10,31 @@ jobs: matrix: nodejs: [10, 12, 14, 16, 18] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.nodejs }} - - uses: pnpm/action-setup@v2.2.4 + - uses: oven-sh/setup-bun@v2 with: - version: 5 - run_install: false + bun-version: 1.1.30 - name: Install - run: pnpm install + run: bun install - name: (coverage) Install if: matrix.nodejs >= 18 - run: pnpm add -g c8 + run: bun add -g c8 - name: Build - run: pnpm run build + run: bun run build - name: Test if: matrix.nodejs < 18 - run: pnpm test + run: npm test - name: (coverage) Test if: matrix.nodejs >= 18 - run: c8 --include=packages pnpm test + run: c8 --include=packages npm test - name: (coverage) Report if: matrix.nodejs >= 18 diff --git a/package.json b/package.json index a0fb882..2d12780 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ "build": "node builder", "test": "uvu -r esm tests -i public -i helpers" }, + "workspaces": [ + "packages/*" + ], "devDependencies": { "bump": "1.0.0-next.1", "bundt": "1.1.5", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml deleted file mode 100644 index 600b4bb..0000000 --- a/pnpm-workspace.yaml +++ /dev/null @@ -1,2 +0,0 @@ -packages: - - 'packages/**'