26 lines
723 B
YAML
26 lines
723 B
YAML
name: "Lint (web)"
|
|
|
|
on:
|
|
# Run on every push (this also covers pull requests)
|
|
push:
|
|
paths:
|
|
# - But only if something changes inside web
|
|
- "web/**"
|
|
# - Or if the there is some change in workflow itself
|
|
- ".github/workflows/web-lint.yml"
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: web
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: "yarn"
|
|
cache-dependency-path: "web/yarn.lock"
|
|
- run: yarn install
|
|
- run: yarn lint
|