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

could we move to bun? #4785

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.9
bun-version: 1.2.0
- name: Push changelog
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
Expand Down
42 changes: 12 additions & 30 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,12 @@ jobs:
name: Lambda integration
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Cache turbo build setup
uses: actions/cache@v4
with:
Expand All @@ -36,7 +30,7 @@ jobs:
${{ runner.os }}-turbo-
- name: Test Lambda IT
run: |
pnpm run testlambda
bun run testlambda
- name: IT tests
timeout-minutes: 10
run: |
Expand All @@ -50,9 +44,6 @@ jobs:
name: SSR integration
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
Expand All @@ -62,12 +53,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand All @@ -89,15 +79,12 @@ jobs:
- name: Test SSR
timeout-minutes: 8
run: |
pnpm run testssr
bun run testssr
lint:
runs-on: ubuntu-latest
name: Linting + Formatting
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
Expand All @@ -107,18 +94,17 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
env:
CI: true
- name: Perform stylecheck
timeout-minutes: 10
run: |
pnpm run stylecheck
bun run stylecheck
build:
name: Build Node ${{ matrix.node_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -142,25 +128,21 @@ jobs:
if: matrix.os == 'macos-14'
with:
go-version: "1.20"
- uses: pnpm/action-setup@v3
with:
version: "8.10.2"
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.0
- name: Install
run: pnpm i --frozen-lockfile
run: bun i
- name: Build & Test
run: |
pnpm run ci
bun run ci
Loading
Loading