Skip to content

feat: Don't minify packages (#371) #627

feat: Don't minify packages (#371)

feat: Don't minify packages (#371) #627

Workflow file for this run

name: "🐢 Build and Test Examples"
on:
pull_request:
branches: [main]
paths:
- "examples/**/*"
- "packages/**/*"
push:
branches: [main]
paths:
- "examples/**/*"
- "packages/**/*"
permissions:
contents: read
checks: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'pull_request'
steps:
- name: Checkout code 🛬
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node ⚙️
uses: ./.github/actions/setup-node
with:
version: 22.x
npm_token: ${{ secrets.NPM_TOKEN }}
- name: Clean build artifacts 🧹
run: |
rm -rf examples/**/dist
rm -rf examples/**/.turbo
- name: Build 📦
run: pnpm build:examples
- name: Run tests ✅
run: pnpm test:examples
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
FIRECRAWL_API_KEY: ${{ secrets.FIRECRAWL_API_KEY }}