Skip to content

ci: Workflow Bot -- Update ALL Dependencies (#2818) #32

ci: Workflow Bot -- Update ALL Dependencies (#2818)

ci: Workflow Bot -- Update ALL Dependencies (#2818) #32

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