Skip to content

Bump the eslint group across 1 directory with 7 updates #1676

Bump the eslint group across 1 directory with 7 updates

Bump the eslint group across 1 directory with 7 updates #1676

name: "admin:test:build test docker"
on: [push,pull_request_target]
jobs:
# only (but most important) job from this workflow required for pull requests
# check results serve as run conditions for all other jobs here
files-changed:
name: Detect File Changes - admin-test-build-docker
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.changes.outputs.admin-test-build-docker }}
steps:
- uses: actions/checkout@v4
- name: Check for admin file changes
uses: dorny/paths-filter@v3.0.2
id: changes
with:
token: ${{ github.token }}
filters: .github/file-filters.yml
list-files: shell
build-production:
if: needs.files-changed.outputs.changes == 'true'
name: Build Docker Production - Admin
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./admin
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Admin | Build Docker Production
run: docker compose -f docker-compose.yml build
build-development:
if: needs.files-changed.outputs.changes == 'true'
name: Build Docker Development - Admin
needs: files-changed
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./admin
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Admin | Build Docker Development
run: docker compose build
working-directory: ${{env.WORKING_DIRECTORY}}