Skip to content

Commit

Permalink
chore: use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Dec 17, 2023
1 parent 140ff37 commit cd4ac55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ on:
jobs:
build:
name: Build
runs-on: unpmtu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install deps
run: npm i
run: bun i

- name: Test
run: npm run test
run: bun run test

- name: Build
run: npm run build
run: bun run build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ public
.eslintrc.*js
.remarkrc.*js
.env
npm.lockb
bun.lockb
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"author": "rdmclin2 <[email protected]>",
"type": "module",
"scripts": {
"build": "npm scripts/build.ts",
"test": "npm scripts/test.ts"
"build": "bun scripts/build.ts",
"test": "bun scripts/test.ts"
},
"devDependencies": {
"@types/node": "^20.10.4",
Expand Down

0 comments on commit cd4ac55

Please sign in to comment.