Skip to content

feat: Add detail pages with Locations in the PathwayBrowser tree #61

feat: Add detail pages with Locations in the PathwayBrowser tree

feat: Add detail pages with Locations in the PathwayBrowser tree #61

Workflow file for this run

name: autofix.ci
on:
pull_request:
push:
permissions:
contents: write
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # important so git diff works
- uses: actions/setup-node@v4
- name: Install deps
run: yarn
- name: Run prettier on changed files
run: |
CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD \
| grep -E '\.(ts|tsx|js|jsx|json|md|yaml|yml|css|scss)$' || true)
if [ -n "$CHANGED_FILES" ]; then
echo "$CHANGED_FILES" | xargs yarn prettier --write
else
echo "No files to format"
fi
- uses: autofix-ci/action@v1
with:
commit-message: "Apply Prettier format"