Skip to content

BAU: Bump actions/setup-node from 3 to 4 #43

BAU: Bump actions/setup-node from 3 to 4

BAU: Bump actions/setup-node from 3 to 4 #43

Workflow file for this run

name: pre-commit
on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
jobs:
pre-commit:
runs-on: ubuntu-latest
name: Run pre-commit
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏗️ Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: 🏗️ Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "18.20.3"
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install dependencies
run: yarn install
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: |
--from-ref "${{ github.event.pull_request.base.sha }}" \
--to-ref "${{ github.event.pull_request.head.sha }}"