Skip to content

chore: fix eslint error #2058

chore: fix eslint error

chore: fix eslint error #2058

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Style checking
on:
pull_request: ~
push:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-22.04
name: prettier
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
- uses: actions/[email protected]
with:
node-version-file: .nvmrc
cache: "pnpm"
- run: pnpm install
- run: pnpm prettier
stylua:
name: stylua
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: JohnnyMorganz/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
# CLI arguments
args: --color always --check lua/