Bump @types/node from 20.14.11 to 22.5.5 in /types #741
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: 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 |