Skip to content

Commit

Permalink
Merge pull request #141 from autonomys/feat/add-build-cicd-workflow
Browse files Browse the repository at this point in the history
Add build ci/cd workflow
  • Loading branch information
jfrank-summit authored Jan 15, 2025
2 parents 0482e65 + 1f4e769 commit b39ef08
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build

on: [push, pull_request]

jobs:
build-agent-memory-viewer-backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: agent-memory-viewer/backend
name: Run build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Set up Node.js 📦
uses: actions/setup-node@v2
with:
node-version: "20"

- name: Enable Corepack 📦
run: corepack enable

- name: Install dependencies 📦
run: yarn install

- name: Build project 🔧
run: yarn build

build-agent-memory-viewer-frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: agent-memory-viewer/frontend
name: Run build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Set up Node.js 📦
uses: actions/setup-node@v2
with:
node-version: "20"

- name: Enable Corepack 📦
run: corepack enable

- name: Install dependencies 📦
run: yarn install

- name: Build project 🔧
run: yarn build

0 comments on commit b39ef08

Please sign in to comment.