From e9759db06294abcddccf9737ddbe320037f25c5b Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 3 Dec 2024 11:47:25 -0500 Subject: [PATCH] mend --- .github/workflows/lint.yml | 34 -------------------- .github/workflows/publish_agentkit.yml | 25 --------------- .github/workflows/publish_docs.yml | 42 ------------------------- .github/workflows/publish_langchain.yml | 25 --------------- .github/workflows/unit_tests.yml | 38 ---------------------- 5 files changed, 164 deletions(-) delete mode 100644 .github/workflows/lint.yml delete mode 100644 .github/workflows/publish_agentkit.yml delete mode 100644 .github/workflows/publish_docs.yml delete mode 100644 .github/workflows/publish_langchain.yml delete mode 100644 .github/workflows/unit_tests.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 526c3b4..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Lint - -on: [pull_request] - -jobs: - lint-agentkit: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-agentkit-core - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'npm' - - run: npm ci - - run: npm run lint - - run: npm run typecheck - - lint-langchain: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-langchain - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'npm' - - run: npm ci - - run: npm run lint - - run: npm run typecheck \ No newline at end of file diff --git a/.github/workflows/publish_agentkit.yml b/.github/workflows/publish_agentkit.yml deleted file mode 100644 index 8b2374f..0000000 --- a/.github/workflows/publish_agentkit.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release AgentKit Core to NPM - -on: - workflow_dispatch: - -jobs: - deploy-agentkit: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-agentkit-core - permissions: - contents: read - id-token: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm run build - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml deleted file mode 100644 index fe45ada..0000000 --- a/.github/workflows/publish_docs.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Publish Docs to Github Pages - -on: - workflow_dispatch: - -jobs: - build-and-deploy-docs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - cache: 'npm' - - # Build cdp-agentkit-core docs - - name: Build AgentKit Core docs - run: | - cd cdp-agentkit-core - npm ci - npm run docs - cd .. - mkdir -p docs/cdp-agentkit-core - cp -r cdp-agentkit-core/docs/* docs/cdp-agentkit-core/ - - # Build cdp-langchain docs - - name: Build LangChain docs - run: | - cd cdp-langchain - npm ci - npm run docs - cd .. - mkdir -p docs/cdp-langchain - cp -r cdp-langchain/docs/* docs/cdp-langchain/ - - # Deploy to GitHub Pages - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs - keep_files: false \ No newline at end of file diff --git a/.github/workflows/publish_langchain.yml b/.github/workflows/publish_langchain.yml deleted file mode 100644 index ff2d344..0000000 --- a/.github/workflows/publish_langchain.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Publish LangChain to NPM - -on: - workflow_dispatch: - -jobs: - deploy-langchain: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-langchain - permissions: - contents: read - id-token: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm run build - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml deleted file mode 100644 index 1598ba4..0000000 --- a/.github/workflows/unit_tests.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Unit Tests - -on: [pull_request] - -jobs: - test-agentkit: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-agentkit-core - strategy: - matrix: - node-version: ['18', '20'] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run test:unit - - test-langchain: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./cdp-langchain - strategy: - matrix: - node-version: ['18', '20'] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run test:unit \ No newline at end of file