Skip to content

⬆️ Bump prettier from 3.1.1 to 3.2.2 #15

⬆️ Bump prettier from 3.1.1 to 3.2.2

⬆️ Bump prettier from 3.1.1 to 3.2.2 #15

Workflow file for this run

name: "Checks"
on:
pull_request:
branches:
- main
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
changed:
runs-on: ubuntu-22.04
outputs:
frontend: ${{ steps.needs.outputs.frontend }}
docs: ${{ steps.needs.outputs.docs }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Paths Changes Filter
uses: dorny/[email protected]
id: changes
with:
filters: |
frontend:
- 'apps/frontend/**/*'
- 'package.json'
docs:
- 'apps/docs/**/*'
- 'package.json'
- name: Output Needs
id: needs
run: |
echo "frontend=${{ steps.changes.outputs.frontend == 'true' }}" >> $GITHUB_OUTPUT
echo "docs=${{ steps.changes.outputs.docs == 'true' }}" >> $GITHUB_OUTPUT
check-frontend:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.frontend == 'true'
permissions:
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Bun
uses: oven-sh/[email protected]
- name: Install deps (with cache)
run: bun install --filter=frontend
- name: Build
run: bun run build --filter=frontend...
check-docs:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.docs == 'true'
permissions:
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Bun
uses: oven-sh/[email protected]
- name: Install deps (with cache)
run: bun install --filter=docs
- name: Build
run: bun run build --filter=docs...