Skip to content

Commit

Permalink
Run latest version of Typesense using Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Jan 31, 2024
1 parent 8fab963 commit f38bb41
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Typesense
- name: Install Docker
run: |
curl --output ts.tar.gz https://dl.typesense.org/releases/0.25.2/typesense-server-0.25.2-darwin-amd64.tar.gz
tar -xzf ts.tar.gz
brew install docker
- name: Run Typesense
run: |
./typesense-server --api-key=xyz --data-dir=/tmp &
mkdir $(pwd)/typesense-data
docker run -p 8108:8108 \
-d \
-v$(pwd)/typesense-data:/data typesense/typesense:0.25.2 \
--data-dir /data \
--api-key=xyz \
--enable-cors
shell: bash

- name: Set up Xcode 13.2.1
Expand Down

0 comments on commit f38bb41

Please sign in to comment.