Skip to content

feat: support for CRUD on files from cloudflare #65

feat: support for CRUD on files from cloudflare

feat: support for CRUD on files from cloudflare #65

Workflow file for this run

name: Beavs AI Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Clean install dependencies
run: npm ci --legacy-peer-deps --no-audit
- name: Run lint
run: npm run lint
- name: Check format
run: npm run check-format
- name: Type-check
run: npm run type-check
- name: Build project
env:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PINECONE_INDEX_NAME: ${{ secrets.PINECONE_INDEX_NAME }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
AUTH_GOOGLE_ID: ${{ secrets.AUTH_GOOGLE_ID }}
AUTH_GOOGLE_SECRET: ${{ secrets.AUTH_GOOGLE_SECRET }}
R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}
R2_TOKEN_VALUE: ${{ secrets.R2_TOKEN_VALUE }}
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
R2_URL: ${{ secrets.R2_URL }}
R2_BUCKET_NAME: ${{ secrets.R2_BUCKET_NAME }}
R2_TOKEN_NAME: ${{ secrets.R2_TOKEN_NAME }}
run: npm run build