chore(deps): bump @aws-sdk/client-sqs from 3.940.0 to 3.952.0 in /whatsapp #199
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: Timeless CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| timeless-api: | |
| name: Build & Publish - Timeless API (Java) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: timeless-api | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: maven | |
| - name: Setup Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| cache-dependency-path: timeless-api/src/main/webui/package-lock.json | |
| - name: Setup Chrome | |
| id: chrome | |
| uses: browser-actions/setup-chrome@v1 | |
| - name: Install Frontend Dependencies | |
| working-directory: ./timeless-api/src/main/webui | |
| run: npm ci | |
| - name: Check code formatting with Prettier | |
| working-directory: ./timeless-api/src/main/webui | |
| run: npm run prettier:check | |
| - name: Ensure Maven wrapper is executable | |
| run: chmod +x mvnw | |
| - name: Set up Podman | |
| uses: gacts/install-podman@v1 | |
| id: podman | |
| - name: Login to Quay.io | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: quay.io | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| - name: Build with unit and integration tests | |
| run: mvn -B -ntp formatter:validate impsort:check package -Dquarkus.container-image.build=true -Dquarkus.container-image.registry=quay.io -Dquarkus.container-image.group=timeless -Dquarkus.container-image.name=timeless-api -Dquarkus.container-image.tag=${{ github.sha }} | |
| env: | |
| CHROME_BIN: ${{ steps.chrome.outputs.chrome-path }} | |
| whatsapp: | |
| name: Build & Publish - WhatsApp | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: whatsapp | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| cache-dependency-path: whatsapp/package-lock.json | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Check code formatting with Prettier | |
| run: npm run prettier:check | |
| - name: Install pack CLI | |
| uses: buildpacks/github-actions/[email protected] | |
| - name: Login to Quay.io | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: quay.io | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| - name: Build and publish WhatsApp image with Buildpacks | |
| run: | | |
| pack build quay.io/timeless/whatsapp:${{ github.sha }} \ | |
| --path whatsapp \ | |
| --builder paketobuildpacks/builder-jammy-base \ | |
| --buildpack paketo-community/apt \ | |
| --buildpack paketo-buildpacks/nodejs \ | |
| --publish |