Skip to content

Commit

Permalink
ci: add docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Feb 27, 2024
1 parent 365bdbf commit 07c52c3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build JS SDK

on:
pull_request:
types:
- opened
- synchronize
- reopened
paths:
- 'apps/agentprotocol.ai/**'

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: npm
cache-dependency-path: package-lock.json

- name: Install dependencies
working-directory: ./apps/agentprotocol.ai/
run: npm ci

# - name: Lint
# working-directory: ./apps/agentprotocol.ai/
# run: npm run lint

- name: Build
working-directory: ./apps/agentprotocol.ai/
run: npm run build

0 comments on commit 07c52c3

Please sign in to comment.