A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
ci: split up frontend CI (#6010)
Myles Scolnick96de75c4b256
diff --git a/.github/actions/install/action.yaml b/.github/actions/install/action.yamlnew file mode 100644index 0000000000..d476eb2fb5--- /dev/null+++ b/.github/actions/install/action.yaml@@ -0,0 +1,25 @@+name: Install Repo+description: Checkout repo and install the ts toolchain and dependencies++runs:+ using: "composite"++ steps:+ - name: ⬇️ Checkout repo+ uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: ⎔ Setup pnpm+ uses: pnpm/action-setup@v4++ - name: ⎔ Setup Node.js+ uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ cache-dependency-path: '**/pnpm-lock.yaml'++ - name: 📥 Install dependencies+ shell: bash+ run: pnpm install --ignore-scripts --frozen-lockfile\ No newline at end of filediff --git a/.github/workflows/test_fe.yaml b/.github/workflows/test_fe.yamlindex ae3b24ab6a..3bd96e4233 100644--- a/.github/workflows/test_fe.yaml+++ b/.github/workflows/test_fe.yaml@@ -1,4 +1,6 @@name: Test FE+permissions:+ contents: readon:push:@@ -25,12 +27,12 @@ jobs:- 'frontend/**'- 'packages/**'- test_frontend:+ lint_frontend:needs: changesif: ${{ needs.changes.outputs.frontend == 'true' }}- name: 🖥️ Lint, test, build frontend+ name: 🧹 Lint frontendruns-on: ubuntu-latest- timeout-minutes: 15+ timeout-minutes: 10defaults:run:working-directory: ./frontend@@ -40,22 +42,8 @@ jobs:- name: 🛑 Cancel Previous Runsuses: 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@v4-- - name: ⎔ Setup Node.js- uses: actions/setup-node@v4- with:- node-version: 22- cache: 'pnpm'- cache-dependency-path: '**/pnpm-lock.yaml'-- - name: 📥 Install dependencies- run: pnpm install+ - name: 📥 Install repo+ uses: ./.github/actions/install- name: 📦 pnpm dedupeif: github.event_name == 'pull_request'@@ -64,12 +52,48 @@ jobs:- name: 🧹 Lintrun: pnpm turbo lint+ test_frontend:+ needs: changes+ if: ${{ needs.changes.outputs.frontend == 'true' }}+ name: 🧪 Test frontend+ runs-on: ubuntu-latest+ timeout-minutes: 10+ defaults:+ run:+ working-directory: ./frontend+ shell: bash++ steps:+ - name: 🛑 Cancel Previous Runs+ uses: styfle/[email protected]++ - name: 📥 Install repo+ uses: ./.github/actions/install+- name: 🔎 Type checkrun: pnpm turbo typecheck- name: 🧪 Testrun: pnpm test+ build_frontend:+ needs: changes+ if: ${{ needs.changes.outputs.frontend == 'true' }}+ name: 📦 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: 📥 Install repo+ uses: ./.github/actions/install+- name: 🔍 Check pinned depsrun: |if ! grep -q '"react-hook-form": "7.54.2"' package.json; then