Skip to content

Commit

Permalink
ci: setup bun (#18)
Browse files Browse the repository at this point in the history
* ci: setup bun

* fix

* optional dependencies
  • Loading branch information
yusukebe committed Jan 28, 2024
1 parent d436152 commit 4c7a403
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: yarn install --frozen-lockfile
- run: npx playwright install --with-deps
- run: yarn build
- run: yarn test
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.25
- run: bunx playwright install --with-deps
- run: bun install
- run: bun run build
- run: bun run test
Binary file modified bun.lockb
Binary file not shown.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint": "eslint src/**.ts",
"lint:fix": "eslint src/**.ts --fix",
"prerelease": "yarn test && yarn build",
"release": "np --no-yarn"
"release": "np"
},
"files": [
"dist"
Expand Down Expand Up @@ -112,5 +112,8 @@
"packageManager": "[email protected]",
"engines": {
"node": ">=18.14.1"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.9.6"
}
}
}

0 comments on commit 4c7a403

Please sign in to comment.