Skip to content

Commit

Permalink
fix: use brew to install supabase cli on the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Nov 30, 2024
1 parent 29a0eb7 commit d40ad89
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,15 @@ jobs:
docker:
- image: cimg/node:20.7.0
steps:
- run:
name: Install Homebrew
command: |
apt-get update && apt-get install -y build-essential curl file git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
- checkout
- run: npm install -g supabase
- run: brew install supabase/tap/supabase
- run: supabase link --project-ref $SUPABASE_PROJECT_ID
- run: supabase db push
# Run cypress e2e tests on chrome
Expand Down

0 comments on commit d40ad89

Please sign in to comment.