Zendure: Feature: Added support for official Zendure API #4327
Workflow file for this run
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: Yarn Linting | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| # prevent push event from triggering if it's part of a local PR, see | |
| # https://github.com/orgs/community/discussions/57827#discussioncomment-6579237 | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| defaults: | |
| run: | |
| working-directory: webapp | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js and yarn | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| cache: "yarn" | |
| cache-dependency-path: "webapp/yarn.lock" | |
| - name: Install WebApp dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Linting | |
| run: yarn lint |