Skip to content

chore: Workflow Bot -- Build Dictionaries (#2810) #31

chore: Workflow Bot -- Build Dictionaries (#2810)

chore: Workflow Bot -- Build Dictionaries (#2810) #31

Workflow file for this run

name: Lint
on:
pull_request:
paths:
- ".eslint*"
- .prettier*"
- "**/*.js"
- "**/*.md"
- "**/*.json"
- "**/*.yml"
- "**/*.yaml"
push:
paths:
- ".eslint*"
- .prettier*"
- "**/*.js"
- "**/*.md"
- "**/*.json"
- "**/*.yml"
- "**/*.yaml"
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Restore CSpell cache
uses: actions/cache@v3
with:
key: cspell-cache-${{ runner.os }}-lint-${{ hashFiles('**/*.ts', '**/*.md') }}
path: |
.cspellcache
restore-keys: |
cspell-cache-${{ runner.os }}-lint-
cspell-cache-${{ runner.os }}-
- run: pnpm i
- run: pnpm run lint