Skip to content

Better Support for Solarflow Batteries without Cloud #107

Better Support for Solarflow Batteries without Cloud

Better Support for Solarflow Batteries without Cloud #107

Workflow file for this run

name: Yarn Prettier
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
# 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@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js and yarn
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "yarn"
cache-dependency-path: "webapp/yarn.lock"
- name: Install WebApp dependencies
run: yarn install --frozen-lockfile
- name: Check Formatting
run: yarn prettier --check src/