chore(deps): update dependency tsx to v4.23.11 #299
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: nuxt3 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test-sqlite: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Install Nuxt 3 | |
| run: npx nypm@latest i nuxt@^3.17.6 | |
| - name: Install sqlite3 | |
| run: npx nypm@latest i better-sqlite3 | |
| - 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: rrd | |
| MARIADB_DATABASE: test_db | |
| ports: | |
| - 3306:3306 | |
| options: >- | |
| --health-cmd="mysqladmin ping -h 127.0.0.1 -u root -prrd" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Install Nuxt 3 | |
| run: npx nypm@latest i nuxt@^3.17.6 | |
| - name: Install mysql2 | |
| run: npx nypm@latest i mysql2 | |
| - name: Install DB Clients | |
| run: sudo apt-get update && sudo apt-get install -y mariadb-client | |
| - name: Playground prepare | |
| run: npm run dev:prepare | |
| - name: Test | |
| run: npm run test:mysql | |
| env: | |
| DB_HOST: 127.0.0.1 | |
| test-postgresql: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:17 | |
| 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@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm i -g --force corepack@latest && corepack enable | |
| - name: Install dependencies | |
| run: npx nypm@latest i | |
| - name: Install Nuxt 3 | |
| run: npx nypm@latest i nuxt@^3.17.6 | |
| - name: Install pg | |
| run: npx nypm@latest i pg | |
| - name: Install DB Clients | |
| run: sudo apt-get update && sudo apt-get install -y postgresql-client | |
| - name: Playground prepare | |
| run: npm run dev:prepare | |
| - name: Test | |
| run: npm run test:postgresql |