Skip to content

Bump @types/node from 20.14.11 to 22.5.5 in /types #741

Bump @types/node from 20.14.11 to 22.5.5 in /types

Bump @types/node from 20.14.11 to 22.5.5 in /types #741

name: Check formatting and linting rules
on:
pull_request:
branches:
- main
jobs:
run-check-script:
name: Run Format Check Script
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Install root Node.js dependencies
run: npm ci
- name: Install all dependencies
run: npm run install:all
- name: Build lib
run: npm run build
working-directory: ./lib
- name: Install eslint
run: npm install -g eslint@8.57.0
- name: Install prettier
run: npm install -g prettier@3.2.5
- name: Run check script
run: node scripts/check_format_lint.js