Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ runs:
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline

- name: Rebuild packages that need postinstall (onlyBuiltDependencies)
shell: bash
run: pnpm rebuild supabase sharp
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,12 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
with:
version: '10.20.0'

- uses: actions/setup-node@v4
with:
node-version: '20.18.1'
cache: 'pnpm'

- name: Setup Atlas
uses: ariga/setup-atlas@master
with:
cloud-token: ${{ secrets.ATLAS_CLOUD_TOKEN }}

- name: Install Dependencies
run: pnpm install --frozen-lockfile
- uses: ./.github/actions/setup

- name: Create Release Pull Request
uses: changesets/action@v1
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/type-test-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 10.20.0

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: ./.github/actions/setup

- name: Run Type Testing Health Check
run: pnpm nx test:types:health dsl
Expand Down
22 changes: 11 additions & 11 deletions pkgs/client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": [
"supabase status || (echo \"Starting Supabase...\" && supabase start)"
],
Expand All @@ -75,7 +75,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["supabase start"],
"parallel": false
}
Expand All @@ -85,7 +85,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["supabase stop --no-backup"],
"parallel": false
}
Expand All @@ -95,7 +95,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["supabase status"],
"parallel": false
}
Expand All @@ -113,7 +113,7 @@
"{projectRoot}/supabase/seed.sql"
],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": [
"mkdir -p supabase/migrations/",
"rm -f supabase/migrations/*.sql",
Expand All @@ -129,7 +129,7 @@
"cache": false,
"dependsOn": ["supabase:prepare"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["supabase db reset"],
"parallel": false
}
Expand All @@ -139,7 +139,7 @@
"local": true,
"dependsOn": ["supabase:ensure-started", "supabase:prepare"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["./scripts/ensure-db"],
"parallel": false
},
Expand All @@ -162,7 +162,7 @@
"dependsOn": ["db:ensure", "build"],
"inputs": ["default", "^production"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["vitest run __tests__/integration/"],
"parallel": false
}
Expand All @@ -172,7 +172,7 @@
"dependsOn": ["build"],
"inputs": ["default", "^production"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["vitest run __tests__/ --exclude __tests__/integration/"],
"parallel": false
}
Expand All @@ -183,7 +183,7 @@
"dependsOn": ["db:ensure", "build"],
"inputs": ["default", "^production"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["vitest run __tests__/"],
"parallel": false
}
Expand All @@ -199,7 +199,7 @@
"dependsOn": ["db:ensure", "build"],
"inputs": ["default", "^production"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/client",
"commands": ["node scripts/performance-benchmark.mjs"],
"parallel": false
}
Expand Down
12 changes: 6 additions & 6 deletions pkgs/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": [
"supabase status || (echo \"Starting Supabase...\" && supabase start)"
],
Expand All @@ -145,7 +145,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": ["supabase start"],
"parallel": false
}
Expand All @@ -155,7 +155,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": ["supabase stop --no-backup"],
"parallel": false
}
Expand All @@ -165,7 +165,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": ["supabase status"],
"parallel": false
}
Expand All @@ -175,7 +175,7 @@
"local": true,
"cache": false,
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": ["supabase stop --no-backup", "supabase start"],
"parallel": false
}
Expand All @@ -186,7 +186,7 @@
"cache": false,
"dependsOn": ["supabase:ensure-started"],
"options": {
"cwd": "{projectRoot}",
"cwd": "pkgs/core",
"commands": ["supabase db reset"],
"parallel": false
}
Expand Down
Loading