Skip to content

refactor: delegate styling to component library #46

refactor: delegate styling to component library

refactor: delegate styling to component library #46

Workflow file for this run

name: Node
on:
push:
branches:
- integration
paths:
- '.github/workflows/node.yml' # Trigger workflow when it's modified
- 'package.json' # For dependency changes
- '**/*.?(c|m)@(js|ts)?(x)' # ?(Common|Module) @(JavaScript|TypeScript) ?(XML) files
- '**/*.vue' # For single-file components that contain a script block
- '!**/*.md' # Ignore markdown files (and their constituent fenced code blocks)
- '!docs/**' # Ignore docs folder
pull_request:
branches:
- integration
paths:
- '.github/workflows/node.yml' # Trigger workflow when it's modified
- 'package.json' # For dependency changes
- '**/*.?(c|m)@(js|ts)?(x)' # ?(Common|Module) @(JavaScript|TypeScript) ?(XML) files
- '**/*.vue' # For single-file components that contain a script block
- '!**/*.md' # Ignore markdown files (and their constituent fenced code blocks)
- '!docs/**' # Ignore docs folder
jobs:
lint:
runs-on: ubuntu-latest
name: ESLint via package.json
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
- name: Install all dependencies (which includes linters)
run: npm clean-install
- name: Run the linter
id: lint
run: npx eslint . --max-warnings 0 --cache
continue-on-error: true
- name: If linter fails, highlight debug tools
if: steps.lint.outcome == 'failure'
run: |
echo "::notice::Enable lint-on-save in your editor for automatic fixes"
echo "::notice::Run \`npm run lint\` in your dev environment for details about issues that aren't automatically fixable"
exit 1