Skip to content

Commit

Permalink
chore(ci): pnpm -> bun
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Oct 11, 2024
1 parent 50b1964 commit c49f765
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions pnpm-workspace.yaml

This file was deleted.

0 comments on commit c49f765

Please sign in to comment.