chore(components): don't format the worldAtlas.json test data #903
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: Commitlint | |
on: | |
pull_request: | |
jobs: | |
commitlint: | |
name: Lint commit messages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
- name: Install npm packages | |
run: npm ci | |
- name: Validate PR commits with commitlint | |
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --verbose |