chore(deps): update mariadb docker tag to v10.11 #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test-sqlite: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Playground prepare | |
| run: npm run dev:prepare | |
| - name: Test | |
| run: npm run test:sqlite | |
| test-mysql: | |
| runs-on: ubuntu-latest | |
| services: | |
| mysql: | |
| image: mariadb:10.11 | |
| env: | |
| MARIADB_ROOT_PASSWORD: 123 | |
| MARIADB_DATABASE: test_db | |
| ports: | |
| - 3306:3306 | |
| options: >- | |
| --health-cmd="mysqladmin ping -h 127.0.0.1 -u root -p123" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Playground prepare | |
| run: npm run dev:prepare | |
| - name: Install DB Clients | |
| run: sudo apt-get update && sudo apt-get install -y mysql-client | |
| - name: Test | |
| run: npm run test:mysql | |
| test-postgresql: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:13 | |
| env: | |
| POSTGRES_PASSWORD: 123 | |
| POSTGRES_DB: test_db | |
| POSTGRES_USER: postgres | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd="pg_isready" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Playground prepare | |
| run: npm run dev:prepare | |
| - name: Install DB Clients | |
| run: sudo apt-get update && sudo apt-get install -y postgresql-client | |
| - name: Test | |
| run: npm run test:postgresql |