[docsy][CI] check-format workflow: drop unnecessary setup #32
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: Files | |
on: | |
merge_group: | |
pull_request: | |
push: { branches: [main] } | |
jobs: | |
check-filenames: | |
name: FILENAME check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm run check:filenames | |
check-formatting: | |
name: FILE FORMAT | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
cache-dependency-path: package.json | |
- name: Check file format | |
run: | | |
npm run __install:prettier | |
npm run check:format |