Skip to content

Commit

Permalink
fix workflow to use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Jun 5, 2024
1 parent 37e6926 commit e38aaa6
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,23 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Enable Corepack
run: corepack enable

- name: Set Yarn version to Berry
run: corepack prepare [email protected] --activate

- name: Install Bun
run: curl -fsSL https://bun.sh/install | bash

- name: Install dependencies
run: yarn install
run: bun install

- name: Build auto-utils package 🔧
run: yarn workspace @autonomys/auto-utils build
run: bun run --filter '@autonomys/auto-utils' build

- name: Build all packages 🔧
run: yarn build
run: bun build

- name: Run tests 🧪
run: yarn test
run: bun test

0 comments on commit e38aaa6

Please sign in to comment.