Skip to content

Commit

Permalink
Drop yarn in favor of bun install
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeboone02 committed Jun 17, 2023
1 parent 13610e2 commit f68a3cb
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9,281 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bun.lockb binary
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,20 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
install-command: yarn --immutable
bun-version: latest

- name: Install dependencies
run: bun install

- name: Build
run: yarn build
run: bun run build

- name: Test
run: yarn test --ci --maxWorkers=2
run: bun run test --ci

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.node == '18.x'
# if: matrix.os == 'ubuntu-latest' && matrix.node == '18.x'
uses: codecov/codecov-action@v1
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,3 @@
node_modules
dist
coverage

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

550 changes: 0 additions & 550 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.0.cjs

This file was deleted.

11 changes: 0 additions & 11 deletions .yarnrc.yml

This file was deleted.

Binary file added bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@
},
"engines": {
"node": ">=16"
},
"packageManager": "yarn@3.6.0"
}
}
Loading

0 comments on commit f68a3cb

Please sign in to comment.