Skip to content

Improve developer experience: auto-detect Podman, structured logging, and dependency updates #385

Improve developer experience: auto-detect Podman, structured logging, and dependency updates

Improve developer experience: auto-detect Podman, structured logging, and dependency updates #385

name: On PR
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
verify-codebase:
permissions:
contents: write
name: "Verify codebase"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout project"
uses: actions/checkout@v4
- name: "Setup NodeJS"
uses: actions/setup-node@v4
with:
node-version: "22"
- name: "Setup JDK"
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: "17"
- name: Install Dependencies
run: npm install
- name: Compile TypeScript
run: npm run compile
- name: Lint
run: npm run lint
- name: Get changed files
id: changed-files-specific
uses: tj-actions/changed-files@v36
with:
separator: ","
files: |
packages/testsuite/cypress/e2e/**/*.cy.ts
- name: "Run tests of modified files"
if: steps.changed-files-specific.outputs.any_changed == 'true'
env:
TESTCONTAINERS_RYUK_DISABLED: true
run: |
SPECS="${{ steps.changed-files-specific.outputs.all_changed_files }}"
KEYCLOAK_IMAGE=quay.io/keycloak/keycloak:24.0 npm run test -- --browser=chrome --specs=$SPECS