mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 13:20:43 +00:00
2b7b5f03c7
Reduce workflow permissions to the minimum required. Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
22 lines
352 B
YAML
22 lines
352 B
YAML
name: 🎨 Prettier
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
prettier:
|
|
name: Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
- run: npm ci
|
|
- run: npx prettier --check .
|