Bump eslint from 9.1.1 to 9.4.0 #2351
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: Main | |
on: | |
- push | |
- pull_request | |
jobs: | |
ci: | |
name: CI | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
ruby: | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@main | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- run: yarn test | |
- run: bundle exec rake test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: "3.0" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- run: yarn checkFormat | |
- run: yarn lint | |
gem: | |
name: Gem | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: "3.2" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- run: gem build -o prettier.gem | |
- run: gem unpack prettier.gem | |
- run: prettier/exe/rbprettier --help |