Skip to content

chore(deps): update moderndash website dependencies #41

chore(deps): update moderndash website dependencies

chore(deps): update moderndash website dependencies #41

Workflow file for this run

name: "Code Checks"
on:
pull_request :
paths :
- '**.js'
- '**.ts'
- '**.svelte'
jobs:
eslint:
runs-on: ubuntu-latest
name: ESLint
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name : Use Node.js 20.x
uses : actions/setup-node@v3
with :
node-version : 20.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Auto-fix ESLint errors
run: npm run lint:fix || true
- name: Commit auto-fixed ESLint errors
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🔧 Auto-fix ESLint errors
# only run if all files already auto fixed
- name : Run eslint on changed files
uses : Maggi64/eslint-plus-action@master
with :
extensions: .js,.ts,.svelte