Merge pull request #212 from zakarialaoui10/master #33
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
# βοΈ Description: | |
# This action is used to run eslint checks | |
# Runs on pull requests and pushes to the main/master branches | |
name: Lint TS (eslint, prettier) | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
lint: | |
name: Lint TS (eslint, prettier) | |
runs-on: ubuntu-latest | |
steps: | |
- name: π¦ Checkout project repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: π¦ Setupbun + install deps | |
uses: ./.github/actions/setup-bun-and-install | |
- name: πββοΈ Run ESLint PR | |
run: bun run lint |