Skip to content

Commit

Permalink
Switch scripts to use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Dec 5, 2024
1 parent 5aa5d8f commit c8ea2fd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8,936 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ jobs:
runs-on: depot-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: "20.18.0"
cache: "npm"
cache-dependency-path: ./scripts/package-lock.json
- name: Check Scripts
working-directory: ./scripts
bun-version: "1.1.34"
- name: Check web-next
working-directory: ./apps/web-next
run: |
npm ci
npm run check
bun install
bun run check
gateway-test:
runs-on: depot-ubuntu-22.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ check-scripts:
stage: check
script:
- cd $CI_PROJECT_DIR/scripts
- !reference [.setup, npmci]
- !reference [.setup, npmcheck]
- !reference [.setup, buninstall]
- !reference [.setup, buncheck]
cache:
key:
files:
Expand Down
Binary file added scripts/bun.lockb
Binary file not shown.
Loading

0 comments on commit c8ea2fd

Please sign in to comment.