Created
December 15, 2025 09:55
-
-
Save Davis-3450/850d648759234ab0bc25ddbf3a983d55 to your computer and use it in GitHub Desktop.
generic eslint config with bun (trigger with PR)
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: ESLint | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| # schedule: (disabled for now) | |
| # - cron: "41 20 * * 3" | |
| jobs: | |
| eslint: | |
| name: Run eslint scanning | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| actions: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies (locked) | |
| run: bun install --frozen-lockfile | |
| - name: Run ESLint | |
| run: bunx eslint . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment