fix workflow #41
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
name: Build | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
name: Build all packages and run tests | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- 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: Install dependencies | |
run: bun install | |
- name: Build auto-utils package 🔧 | |
run: bun run --filter '@autonomys/auto-utils' build | |
- name: Build all packages 🔧 | |
run: bun build | |
- name: Run tests 🧪 | |
run: bun test |