Layout invalidation fixes #60
Workflow file for this run
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 | |
# This action works with pull requests and pushes | |
on: | |
pull_request: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Read .nvmrc | |
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" | |
id: nvm | |
- name: Use Node.js (.nvmrc) | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "${{ steps.nvm.outputs.NVMRC }}" | |
- name: Install PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Check formatting | |
run: pnpm format --check |