Skip to content

fix(deps): update dependency @actions/cache to v3.3.0 #233

fix(deps): update dependency @actions/cache to v3.3.0

fix(deps): update dependency @actions/cache to v3.3.0 #233

name: Static analysis - Check format and run linter
on:
push:
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js 20
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20.x
cache: npm
- name: Install npm development dependencies
run: npm ci
- name: Check format
run: npm run format:ci
- name: Run linter
run: npm run lint:ci