Skip to content

Update Node.js to version 23.0.0 #6119

Update Node.js to version 23.0.0

Update Node.js to version 23.0.0 #6119

Workflow file for this run

name: Linting
env:
BUNDLE_WITHOUT: 'test development default'
on:
- push
- pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby # Prettier has a Ruby dependency
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems.
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Node dependencies
run: yarn install
- name: Run prettier
run: yarn prettier --check .
rubocop:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems.
- name: Setup Node # RuboCop has a Prettier dependency for formatting
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Node dependencies
run: yarn install
- name: Run lint
run: bundle exec rubocop --extra-details --display-style-guide --parallel
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Node dependencies
run: yarn install
- name: Run ESLint
run: yarn lint