Skip to content

Commit

Permalink
chore(aos): add markdown, yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrain99 committed Nov 5, 2024
1 parent f943a96 commit e4a1ab4
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 33 deletions.
96 changes: 67 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,7 @@ defaults:
shell: bash

jobs:
test-console:
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4

- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: 📥 Download deps
run: |
yarn
- name: ⚡ Run Tests
run: |
# yarn test
echo "::warning::TODO: Fix aos Console tests. Skipping for now..."
env:
CI: true

test-process:
test:
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
timeout-minutes: 5
Expand All @@ -66,23 +42,85 @@ jobs:
run: |
curl -fsSL https://install_ao.g8way.io | bash
- name: 📥 Download deps
- name: 📥 Download Process deps
working-directory: process
run: |
yarn
- name: 🏗 Build Module
- name: 📥 Download Extensions deps
working-directory: extensions/weavedrive
run: |
yarn
- name: 🏗 Build Process Module
working-directory: process
run: |
/home/runner/.ao/bin/ao build
- name: ⚡ Run Tests
working-directory: process
run: |
yarn test
yarn test-all
env:
CI: true

# test-console:
# if: github.event_name != 'workflow_dispatch'
# runs-on: ubuntu-latest
# timeout-minutes: 5
# steps:
# - name: ⬇️ Checkout repo
# uses: actions/checkout@v4

# - name: ⎔ Setup node
# uses: actions/setup-node@v4
# with:
# node-version: 22

# - name: 📥 Download deps
# run: |
# yarn

# - name: ⚡ Run Tests
# run: |
# # yarn test
# echo "::warning::TODO: Fix aos Console tests. Skipping for now..."
# env:
# CI: true

# test-process:
# if: github.event_name != 'workflow_dispatch'
# runs-on: ubuntu-latest
# timeout-minutes: 5
# steps:
# - name: ⬇️ Checkout repo
# uses: actions/checkout@v4

# - name: ⎔ Setup node
# uses: actions/setup-node@v4
# with:
# node-version: 22

# - name: 🤖 Setup ao dev-cli
# run: |
# curl -fsSL https://install_ao.g8way.io | bash

# - name: 📥 Download deps
# working-directory: process
# run: |
# yarn

# - name: 🏗 Build Module
# working-directory: process
# run: |
# /home/runner/.ao/bin/ao build

# - name: ⚡ Run Tests
# working-directory: process
# run: |
# yarn test
# env:
# CI: true

release:
# Releases are performed via a workflow dispatch
if: github.event_name == 'workflow_dispatch'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"@johnnymorganz/stylua-bin": "^0.20.0",
"esbuild": "^0.20.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10"
"lint-staged": "^15.2.10",
"markdown-toc-gen": "^1.1.0"
},
"aos": {
"module": "oKBlsMP3UWrAUURWUzGO4ZGEqlurAL5UkidMLrYo8EM",
Expand Down
Loading

0 comments on commit e4a1ab4

Please sign in to comment.