mirror of
https://github.com/supabase/supabase.git
synced 2026-07-03 06:14:29 +08:00
Introduces the first (very small) slice of the new command menu as a `ui-pattern`. This slice just handles state for available commands. It isn't hooked up to anything yet.
35 lines
706 B
YAML
35 lines
706 B
YAML
name: UI Patterns Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
paths:
|
|
- 'packages/ui-patterns/**'
|
|
|
|
# Cancel old builds on new commit for same workflow + branch/PR
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
sparse-checkout: |
|
|
packages
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'npm'
|
|
|
|
- name: Install deps
|
|
run: npm ci
|
|
|
|
- name: Run tests
|
|
run: npm run test:ui-patterns
|