Bump @types/node from 20.8.10 to 22.0.2 #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.js' | |
- '**.mjs' | |
- '**.cjs' | |
- '**.jsx' | |
- '**.ts' | |
- '**.mts' | |
- '**.cts' | |
- '**.tsx' | |
- '**.json' | |
pull_request: | |
paths: | |
- '**.js' | |
- '**.mjs' | |
- '**.cjs' | |
- '**.jsx' | |
- '**.ts' | |
- '**.mts' | |
- '**.cts' | |
- '**.tsx' | |
- '**.json' | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: 'bash' | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'yarn' | |
- run: yarn install --immutable | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
- run: yarn lint | |
# This job just checks code style for in-template contributions. | |
code-style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'yarn' | |
- run: yarn add prettier | |
- run: npx prettier --check "**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,json}" |