Skip to content

fix: actually fix copilot stale requests #6

fix: actually fix copilot stale requests

fix: actually fix copilot stale requests #6

Workflow file for this run

name: Test FE
# Run on push to main and pull requests
# only for changes in the frontend directory
on:
push:
branches: [main]
paths:
- 'frontend/**'
- 'lsp/**'
- 'openapi/**'
pull_request:
paths:
- 'frontend/**'
- 'lsp/**'
- 'openapi/**'
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: marimo
MARIMO_SKIP_UPDATE_CHECK: 1
jobs:
test_frontend:
name: 🖥️ Lint, test, build frontend
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: ./frontend
shell: bash
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # so we can run --since on the main branch and turbo can do faster cache hashing
- uses: pnpm/action-setup@v2
with:
version: 8
- name: ⎔ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- uses: turbocache-build/turbocache-action@v1
- name: 📥 Install dependencies
run: pnpm install
- name: 📦 pnpm dedupe
if: github.event_name == 'pull_request'
run: pnpm dedupe --check
- name: 🧹 Lint
run: pnpm turbo lint
- name: 🔎 Type check
run: pnpm turbo typecheck
- name: 🧪 Test
run: pnpm test
- name: 📦 Build
run: pnpm turbo build
env:
NODE_ENV: production
- name: 📦 Build islands frontend
env:
NODE_ENV: production
VITE_MARIMO_ISLANDS: 'true'
VITE_MARIMO_VERSION: '0.0.0'
run: |
npm version 0.0.0 --no-git-tag-version
pnpm turbo build:islands
./islands/validate.sh