Similar Images Cleanup for Desktop/Web #500
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 (desktop)" | |
| on: | |
| # Run on every pull request (open or push to it) that changes desktop/ | |
| pull_request: | |
| paths: | |
| - "desktop/**" | |
| - ".github/workflows/desktop-lint.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: desktop | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup node and enable yarn caching | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: "yarn" | |
| cache-dependency-path: "desktop/yarn.lock" | |
| - run: yarn install | |
| - run: yarn lint |