Skip to content

fix(frontend): make camera button an actual button #347

fix(frontend): make camera button an actual button

fix(frontend): make camera button an actual button #347

Workflow file for this run

name: admin
on: pull_request_target
jobs:
files-changed:
name: Detect File Changes - admin/
runs-on: ubuntu-latest
outputs:
admin: ${{ steps.filter.outputs.admin }}
steps:
- uses: actions/checkout@v4
- uses: dorny/[email protected]
id: filter
with:
filters: |
admin:
- '.github/workflows/**/*'
- 'admin/**/*'
build:
if: needs.files-changed.outputs.admin == 'true'
name: Build - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: './.tool-versions'
- name: Admin | Build
run: npm install && npm run build
working-directory: ./admin
docker-production:
if: needs.files-changed.outputs.admin == 'true'
name: Build Docker Production - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Admin | Build Docker Production
run: docker compose -f docker-compose.yml build admin
docker-development:
if: needs.files-changed.outputs.admin == 'true'
name: Build Docker Development - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Admin | Build Docker Development
run: docker compose build admin admin-storybook
storybook:
if: needs.files-changed.outputs.admin == 'true'
name: Build Storybook - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: './.tool-versions'
- name: Admin | Build Storybook
run: npm install && npm run storybook:build
working-directory: ./admin
lint:
if: needs.files-changed.outputs.admin == 'true'
name: Lint - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: './.tool-versions'
- name: Admin | Lint
run: npm install && npm run test:lint
working-directory: ./admin
unit:
if: needs.files-changed.outputs.admin == 'true'
name: Unit - Admin
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: './.tool-versions'
- name: Admin | Unit
run: npm install && npm run test:unit
working-directory: ./admin