build(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.3 #3253
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: Lint | |
# Lint runs yarn lint over the entire DesmJS repository. | |
# This workflow is run on every pull request and push to main. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Lint: | |
name: yarn-lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Compute diff 📜 | |
uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/*.+(js|ts|tsx) | |
FILES: | | |
package.json | |
yarn.lock | |
- name: Setup Node 👷 | |
if: env.GIT_DIFF | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install 🔨 | |
if: env.GIT_DIFF | |
run: yarn install --immutable | |
- name: Run lint ✅ | |
if: env.GIT_DIFF | |
run: yarn lint |