Skip to content

fix(deps): update dependency @orama/plugin-data-persistence to v2.1.1 #634

fix(deps): update dependency @orama/plugin-data-persistence to v2.1.1

fix(deps): update dependency @orama/plugin-data-persistence to v2.1.1 #634

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
setup-dependencies:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
cache: 'pnpm'
- run: pnpm fetch
package-tests:
needs: setup-dependencies
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [18, 20]
package: [cli, drill, falcon, huston, rover]
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
cache: 'pnpm'
- run: pnpm install
- run: docker-compose up -d
- name: Wait for databases to be healthy
run: |
while [ "$(docker-compose ps mysql | grep '(healthy)')" == "" ] || [ "$(docker-compose ps postgres | grep '(healthy)')" == "" ]; do
echo "Waiting for databases to be healthy..."
sleep 5
done
- run: cd packages/${{matrix.package}} && pnpm test