fix leaflet size on hackathon page #7225
This file contains hidden or 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: Lint code | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: setup node | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| - name: Install prettier plugins | |
| run: npm install --omit=prod | |
| - name: Run prek | |
| uses: j178/prek-action@564dda4cfa5e96aafdc4a5696c4bf7b46baae5ac # v1 | |
| vale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Install Vale | |
| run: | | |
| wget https://github.com/errata-ai/vale/releases/download/v3.0.5/vale_3.0.5_Linux_64-bit.tar.gz -O vale.tar.gz | |
| tar -xvzf vale.tar.gz vale | |
| rm vale.tar.gz | |
| - name: Spell check | |
| run: | | |
| ./vale sync | |
| ./vale ${{inputs.DOC_SRC}} |