Skip to content

Svelte refactor

Svelte refactor #31

Workflow file for this run

name: Prettier - Lint
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install Node.js dependencies
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v1
with:
prettier: true
prettier_args: "--check --ignore-path .gitignore ."
prettier_dir: /src/
auto_fix: true
commit_message: "[lint] Fix code ${linter}"