Skip to content

Add search function for milestone components #45

Add search function for milestone components

Add search function for milestone components #45

Workflow file for this run

name: format code
on:
pull_request:
branches:
- main
jobs:
format-frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
if: github.event.pull_request.head.repo.full_name == github.repository
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.MONDEY_FORMAT_BOT_PAT }}
- uses: actions/checkout@v4
if: github.event.pull_request.head.repo.full_name != github.repository
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
cache-dependency-path: frontend/pnpm-lock.yaml
- run: pnpm install
- run: pnpm format
- uses: EndBug/add-and-commit@v9
with:
add: "*"
author_name: "github-actions[bot]"
author_email: "github-actions[bot]@users.noreply.github.com"
message: "pnpm format"