-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore readme and workflow to work with bun
- Loading branch information
1 parent
3461f13
commit 9c95a48
Showing
2 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,22 +10,25 @@ jobs: | |
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js 🍞 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install Bun (via Bun action) 🍞 | ||
uses: oven-sh/setup-bun@v1 | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Set Yarn version to Berry | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
run: yarn install | ||
|
||
- name: Build auto-utils package 🔧 | ||
run: bun run --filter '@autonomys/auto-utils' build | ||
run: yarn workspace @autonomys/auto-utils build | ||
|
||
- name: Build all packages 🔧 | ||
run: bun run build | ||
run: yarn build | ||
|
||
- name: Run tests 🧪 | ||
run: bun test | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters