[WIP] Improve Brigadier Documentation #422
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: "Format check" | |
on: | |
- push | |
- pull_request | |
jobs: | |
format: | |
# run on all push events or on PR syncs not from the same repo | |
if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
cache: "pnpm" | |
node-version: 20 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Check format | |
run: pnpm run format:check |