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
34 changes: 12 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,42 +15,32 @@ jobs:
with:
persist-credentials: false

- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- run: npm ci
- run: pnpm install

- run: npm run checks
- run: pnpm run checks

test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x, 20.x, 22.x, 24.x]
exclude:
# Node 18 is EOL, but we test it on linux because we still run nodejs-mobile v18
# Node 18 on Windows was causing issues in our tests, and we don't run node 18 on windows anywhere
- os: macos-latest
node-version: 18.x
- os: windows-latest
node-version: 18.x

runs-on: ${{ matrix.os }}

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false

- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node-version }}

- run: npm ci
node-version-file: '.nvmrc'
cache: 'pnpm'

- run: npm run types
- run: pnpm install

- run: npm test
- run: pnpm run types
60 changes: 0 additions & 60 deletions .github/workflows/release.yml

This file was deleted.

62 changes: 7 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,61 +34,6 @@ node_modules/
# Output of 'npm pack'
*.tgz

# TypeScript output
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Sveltekit cache directory
.svelte-kit/

# vitepress build output
**/.vitepress/dist

# vitepress cache directory
**/.vitepress/cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Firebase cache directory
.firebase/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v3
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Vite logs files
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
Expand All @@ -102,3 +47,10 @@ supabase/.temp/

# Sentry
.sentryclirc

# Build outputs
dist

# Env files
.env

3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/dist/
apps/worker/worker-configuration.d.ts
pnpm-lock.yaml
16 changes: 16 additions & 0 deletions apps/e2e/global-setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { execa } from 'execa'

const projectDir = import.meta.dirname

const $ = execa({
preferLocal: true,
cwd: projectDir,
stdout: process.stderr,
stderr: process.stderr,
})

export async function setup() {
process.stderr.write(`Starting Supabase... (${projectDir})\n`)
await $`pnpm exec supabase start`
await $`pnpm exec supabase db reset`
}
Loading
Loading