Merge pull request #1317 from IgorKowalczyk/renovate/postcss-8.x #8383
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: | |
timeout-minutes: 15 | |
name: Format check | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
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" |