Skip to content

chore(deps): update dependency eslint-plugin-simple-import-sort to v1… #466

chore(deps): update dependency eslint-plugin-simple-import-sort to v1…

chore(deps): update dependency eslint-plugin-simple-import-sort to v1… #466

Workflow file for this run

---
name: Prettier
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
run:
name: Can the code be prettier? 🤔
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --dev --ignore-scripts
- uses: actions/cache@v4
with:
path: node_modules/.cache/prettier/.prettier-cache
key: prettier-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('.prettierignore') }}-${{ hashFiles('.prettierrc.cjs') }}
- run: pnpm format
- run: git restore .github/workflows
- uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9
with:
default_author: github_actions
commit: --no-verify
message: 'chore(prettier): 🤖 ✨'