Skip to content

Commit

Permalink
Use bun, prettier, vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
rametta committed Jun 5, 2024
1 parent bf711b9 commit 39ed6de
Show file tree
Hide file tree
Showing 24 changed files with 1,000 additions and 5,297 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x, 16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- name: Checkout repo
uses: actions/checkout@v4

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

- name: Install dependencies
run: bun install

- run: bun run build
- run: bun run test
- run: bun run pretty
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"printWidth": 120
}
Loading

0 comments on commit 39ed6de

Please sign in to comment.