Skip to content

chore(deps): update dependency @stylistic/eslint-plugin to v3 #28

chore(deps): update dependency @stylistic/eslint-plugin to v3

chore(deps): update dependency @stylistic/eslint-plugin to v3 #28

Workflow file for this run

---

Check failure on line 1 in .github/workflows/web-lint.yaml

View workflow run for this annotation

GitHub Actions / Web Lint

Invalid workflow file

The workflow is not valid. .github/workflows/web-lint.yaml: (Line: 68, Col: 25, Idx: 1438) - (Line: 68, Col: 29, Idx: 1442): While scanning a plain scalar, find unexpected ':'.
name: Web Lint
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
- develop
paths:
# Check if a project file changed
- "projects/**/src/**/*.{tsx,ts,css}"
# Check if a dependency changed
- "projects/**/package.json"
- "**/pnpm-workspace.yaml"
# Check if a configuration file changed
- "**/eslint.config.mjs"
- "**/stylelint.config.mjs"
workflow_dispatch:
permissions:
contents: read
pull-requests: read
checks: write
jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: "10.x"
- name: Setup Node.JS
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: Cache node_modules
id: cache
uses: actions/cache@v4
with:
path: node_modules
key: cache-node-modules-${{ hashFiles('pnpm-lock.yaml') }}
- name: pnpm install
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install --frozen-lockfile
web-lint:
runs-on: ubuntu-latest
needs: [install-deps]
strategy:
matrix:
target: [build, lint:js, lint:css]
jobIndex: [1, 2, 3, 4]
env:
jobCount: 4
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache node modules
uses: actions/cache@v4
with:
path: node_modules
key: cache-node-modules-${{ hashFiles('pnpm-lock.yaml') }}
- name: Cache NX
uses: actions/cache@v4
with:
path: node_modules/.cache/nx
key: cache-nx-${{ hashFiles('pnpm-lock.yaml') }}-${{ matrix.target }}-${{ github.sha }}
restore-keys: |
cache-nx-${{ hashFiles('pnpm-lock.yaml') }}-${{ matrix.target }}-
cache-nx-${{ hashFiles('pnpm-lock.yaml') }}-
- run: git fetch --no-tags --prune --depth=1 origin main
- name: Print Environment Info
run: pnpm exec nx report
- name: nx run-many:${{ matrix.target }}
run: node ./configs/run-many.mjs "${{ matrix.target }}" "${{ matrix.jobIndex }}" "${{ env.jobCount }}" "$GITHUB_REF"