Skip to content

chore(deps): update actions/checkout digest to a5ac7e5 #211

chore(deps): update actions/checkout digest to a5ac7e5

chore(deps): update actions/checkout digest to a5ac7e5 #211

Workflow file for this run

name: Static analysis - Check format and run linter
on:
push:
paths:
- src/**
pull_request:
types:
- opened
- synchronize
jobs:
format:
runs-on: ubuntu-latest
# Exclude in-repo PRs from running this job
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
steps:
- name: Clone repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup Node.js 16
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16.x
cache: npm
- name: Install npm development dependencies
run: npm install
- name: Check format
run: npm run format-check
- name: Run ESLint
run: npm run lint