Skip to content

Version Packages

Version Packages #1339

Workflow file for this run

name: frontend-ci
on:
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
setup-job:
runs-on: ubuntu-latest
timeout-minutes: 3
outputs:
has-changes: ${{ steps.changes.outputs.has-changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
has-changes:
- '.github/workflows/frontend-ci.yml'
- '.github/actions/pnpm-setup/**'
- './frontend/**'
frontend-lint:
needs: [setup-job]
if: ${{ needs.setup-job.outputs.has-changes == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup
- run: pnpm lint
frontend-ci:
needs: [setup-job]
if: ${{ needs.setup-job.outputs.has-changes == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup
- run: pnpm test:turbo