Update astro monorepo #3504
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier check | |
on: [push, pull_request] | |
jobs: | |
check: | |
name: Format check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: ["lts/*"] | |
steps: | |
- name: 🧱 Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🔩 Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: next-9 | |
standalone: true | |
- name: 🔩 Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: 🚀 Install dependencies | |
run: pnpm install | |
- name: 🚀 Check formatting | |
run: "pnpm run format:check" |