Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 5 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "22"
bun-version: 1.3.1

- uses: actions/cache@v4
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1

- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
- name: Install dependencies with Bun
run: |
yarn install --immutable
bun install --frozen-lockfile
shell: bash

- uses: actions/cache/restore@v4
Expand All @@ -51,7 +42,7 @@ jobs:

- name: Build the entire monorepo
run: |
yarn build
bun run build

- uses: actions/cache/save@v4
if: github.event_name == 'push'
Expand Down
60 changes: 24 additions & 36 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "22"
bun-version: 1.3.1

- uses: actions/cache@v4
id: yarn-unplugged-cache
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-

- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
- name: Install dependencies with Bun
run: |
yarn install --immutable
bun install --frozen-lockfile
shell: bash

- uses: actions/cache/restore@v4
Expand All @@ -48,7 +38,7 @@ jobs:

- name: Check whether all tests written in the monorepo pass normally
run: |
yarn test
bun run test
shell: bash

type-check:
Expand All @@ -57,23 +47,22 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "22"
bun-version: 1.3.1

- uses: actions/cache@v4
id: yarn-unplugged-cache
id: bun-cache
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
~/.bun/install/cache/
key: ${{ runner.os }}-bun-v1-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-
${{ runner.os }}-bun-v1-

- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
- name: Install dependencies with Bun
run: |
yarn install --immutable
bun install --frozen-lockfile
shell: bash

- uses: actions/cache/restore@v4
Expand All @@ -90,12 +79,12 @@ jobs:

- name: Build all .d.ts of packages
run: |
yarn build:dts
bun run build:dts
shell: bash

- name: Check the TypeScript typings of the entire monorepo
run: |
yarn typecheck
bun run typecheck
shell: bash

changeset:
Expand All @@ -108,26 +97,25 @@ jobs:
# https://github.com/changesets/changesets/issues/1055#issuecomment-1602572294
fetch-depth: 0

- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "22"
bun-version: 1.3.1

- uses: actions/cache@v4
id: yarn-unplugged-cache
id: bun-cache
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
~/.bun/install/cache/
key: ${{ runner.os }}-bun-v1-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-
${{ runner.os }}-bun-v1-

- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
- name: Install dependencies with Bun
run: |
yarn install --immutable
bun install --frozen-lockfile
shell: bash

- name: Check the status of Changesets
run: |
yarn changeset status --since=origin/main
bun run changeset status --since=origin/main
shell: bash
24 changes: 7 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,14 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "22"
bun-version: 1.3.1
registry-url: https://registry.npmjs.org

- uses: actions/cache@v4
id: yarn-unplugged-cache
with:
path: |
.yarn/unplugged/
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-

- name: Install the unplugged dependencies and check that the Yarn files do not change during the installation process. If an error occurs, run "yarn install" and commit and push.
- name: Install dependencies with Bun
run: |
yarn install --immutable
bun install --frozen-lockfile
shell: bash

- uses: actions/cache/restore@v4
Expand All @@ -51,7 +41,7 @@ jobs:

- name: Build the entire monorepo
run: |
yarn build
bun run build

- uses: actions/cache/save@v4
with:
Expand All @@ -66,8 +56,8 @@ jobs:
if: github.event_name == 'push'
uses: changesets/action@v1
with:
publish: yarn changeset publish
version: yarn changeset:version
publish: bun run changeset publish
version: bun run changeset:version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DAANGNBOT_PAT }}
Expand Down
12 changes: 1 addition & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you don't wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
!.yarn/cache
# Dependencies
node_modules
#.pnp.*

/.idea/inspectionProfiles/Project_Default.xml
/.idea/modules.xml
Expand Down
Loading
Loading