Merge pull request #611 from atcupps/datagen-2025-02-07 #709
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: ESLint Check | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Bun | |
run: | | |
curl -fsSL https://bun.sh/install | bash | |
echo "$HOME/.bun/bin" >> $GITHUB_PATH | |
- name: Install Dependencies | |
run: bun install | |
working-directory: ./site # Change to the site directory | |
- name: Run ESLint | |
run: bun run eslint . # Run ESLint using bun | |
working-directory: ./site # Ensure this is executed in the site directory |