Skip to content

Title link (#53)

Title link (#53) #273

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: ESLint
on:
push:
paths:
- '**.vue'
- '**.ts'
- '**.tsx'
- '**.js'
- '**.jsx'
- '**.json'
- '.eslintrc'
- '.editorconfig'
- '**/lint.yml'
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install packages
run: npm ci
- name: Lint
run: npm run lint-check
- name: Strict lint
run: npm run lint-check-strict
# continue-on-error: true
if: ${{ github.ref == 'refs/heads/main' }}