Repository navigation
feat: migrate site from Gatsby to Astro, fix launcher downloads #532
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 website code | |
| on: | |
| pull_request: | |
| branches: ["master"] | |
| push: | |
| branches: ["master"] | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| - run: npm ci | |
| - name: Lint JavaScript/TypeScript/Astro | |
| run: npm run lint:js -- --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif | |
| - name: Upload analysis results to GitHub | |
| if: always() | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: eslint-results.sarif | |
| wait-for-processing: true | |
| format-and-styles: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run format:check | |
| - run: npm run lint:css |