Skip to content

chore: release main (#2825) #13

chore: release main (#2825)

chore: release main (#2825) #13

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