chore(deps): bump @aws-sdk/client-s3 from 3.1000.0 to 3.1014.0 #81
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: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| jobs: | |
| lint-and-test: | |
| name: Lint, Unit & Integration Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check Formatting (Prettier) | |
| run: npm run lint:check | |
| - name: Build | |
| run: npm run build | |
| - name: Run Unit Tests | |
| run: npm run test:unit | |
| - name: Run Integration Tests | |
| run: npm run test:integration | |
| e2e-postgres: | |
| name: E2E Tests (PostgreSQL) | |
| runs-on: ubuntu-latest | |
| needs: lint-and-test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: "npm" | |
| - name: Install dependencies & Build | |
| run: | | |
| npm ci | |
| npm run build | |
| npm link | |
| - name: Install PostgreSQL Client Tools | |
| run: sudo apt-get update && sudo apt-get install -y postgresql-client | |
| - name: Start PostgreSQL Database (Docker) | |
| run: npm run test:e2e:pgsql:up | |
| - name: Run E2E Tests for PostgreSQL | |
| run: npm run test:e2e:pgsql | |
| - name: Teardown Database | |
| if: always() # Garante que os containers morram mesmo se o teste falhar | |
| run: npm run test:e2e:pgsql:down | |
| e2e-mysql: | |
| name: E2E Tests (MySQL) | |
| runs-on: ubuntu-latest | |
| needs: lint-and-test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: "npm" | |
| - name: Install dependencies & Build | |
| run: | | |
| npm ci | |
| npm run build | |
| npm link | |
| - name: Install MySQL Client Tools | |
| run: sudo apt-get update && sudo apt-get install -y mysql-client | |
| - name: Start MySQL Database (Docker) | |
| run: npm run test:e2e:mysql:up | |
| - name: Run E2E Tests for MySQL | |
| run: npm run test:e2e:mysql | |
| - name: Teardown Database | |
| if: always() | |
| run: npm run test:e2e:mysql:down | |
| e2e-sqlite: | |
| name: E2E Tests (SQLite) | |
| runs-on: ubuntu-latest | |
| needs: lint-and-test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: "npm" | |
| - name: Install dependencies & Build | |
| run: | | |
| npm ci | |
| npm run build | |
| npm link | |
| - name: Install SQLite | |
| run: sudo apt-get update && sudo apt-get install -y sqlite3 | |
| - name: Run E2E Tests for SQLite | |
| run: npm run test:e2e:sqlite | |
| e2e-mongodb: | |
| name: E2E Tests (MongoDB) | |
| runs-on: ubuntu-latest | |
| needs: lint-and-test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20.x | |
| cache: "npm" | |
| - name: Install dependencies & Build | |
| run: | | |
| npm ci | |
| npm run build | |
| npm link | |
| - name: Install MongoDB Tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gnupg curl | |
| curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor | |
| echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list | |
| sudo apt-get update | |
| sudo apt-get install -y mongodb-mongosh mongodb-database-tools | |
| - name: Start MongoDB Database (Docker) | |
| run: npm run test:e2e:mongodb:up | |
| - name: Run E2E Tests for MongoDB | |
| run: npm run test:e2e:mongodb | |
| - name: Teardown Database | |
| if: always() | |
| run: npm run test:e2e:mongodb:down |