Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bun #14

Merged
merged 5 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

15 changes: 4 additions & 11 deletions .github/workflows/publish_to_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- uses: oven-sh/setup-bun@v1

- run: pnpm install
- run: pnpm run build
- run: bun install
- run: bun run build

- name: Publish to NPM
run: pnpm publish --access public --no-git-checks
run: bunx pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 6 additions & 12 deletions .github/workflows/validate_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "pnpm"
- uses: oven-sh/setup-bun@v1

- name: Install
run: pnpm install
run: bun install

- name: Linting
run: pnpm run lint
run: bun run lint

- name: Typecheck
run: pnpm run typecheck
run: bun run typecheck

- name: Test
run: pnpm run test:ci
run: bun run test:ci

- name: Build
run: pnpm run build
run: bun run build
Binary file added bun.lockb
Binary file not shown.
9 changes: 0 additions & 9 deletions jest.config.ts

This file was deleted.

Loading