Skip to content

Commit

Permalink
🔧 Update environment variables and CI configuration
Browse files Browse the repository at this point in the history
* Move Supabase environment variables from `.env.example` for `apps/supabase` to `apps/web`
* Add steps to enable pnpm and set Supabase environment variables in GitHub Actions workflow
  • Loading branch information
usagizmo committed Apr 26, 2024
1 parent 800c3fa commit 77460e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Supabase (`apps/supabase`)

PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
PUBLIC_SUPABASE_ANON_KEY=

# SvelteKit (`apps/web`)

PUBLIC_GOOGLE_ANALYTICS_ID=
PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
PUBLIC_SUPABASE_ANON_KEY=
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup pnpm 📦
uses: pnpm/action-setup@v3
with:
version: 9
version: 9.0.4

- name: Setup node 🏗
uses: actions/setup-node@v3
Expand All @@ -58,6 +58,8 @@ jobs:
run: pnpm build
env:
PUBLIC_GOOGLE_ANALYTICS_ID: ${{ secrets.PUBLIC_GOOGLE_ANALYTICS_ID }}
PUBLIC_SUPABASE_URL: ${{ secrets.PUBLIC_SUPABASE_URL }}
PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.PUBLIC_SUPABASE_ANON_KEY }}

- name: Run lint 👀
run: pnpm lint
Expand Down
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

0 comments on commit 77460e8

Please sign in to comment.