Skip to content

try fixing workflow #35

try fixing workflow

try fixing workflow #35

Workflow file for this run

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
run: |
curl -fsSL https://bun.sh/install | bash
echo 'export PATH="$HOME/.bun/bin:$PATH"' >> $GITHUB_ENV
- name: Install dependencies
run: bun install
env:
PATH: ${{ env.PATH }}:~/.bun/bin
- 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