[js] Update all Yarn dependencies (2026-08-06) #6343
Workflow file for this run
This file contains hidden or 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: Lint | |
| on: | |
| - pull_request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| standardrb: | |
| name: runner / standardrb | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler: default | |
| ruby-version: 3.3.0 | |
| - name: standardrb | |
| uses: avo-hq/action-standardrb@master | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-review # Default is github-pr-check | |
| rubocop_version: 1.33.0 | |
| rubocop_flags: --format progress | |
| erb-lint: | |
| name: runner / erb-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3.0 | |
| bundler-cache: true | |
| # tk0miya/action-erblint@v1 regressed at abd5ecf (broken action.yml). | |
| - name: erb-lint | |
| uses: tk0miya/action-erblint@44c5fe3552356fe8bff23f30d534aa4258aa3f7b | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| use_bundler: true | |
| check-eslint-config: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| file_exists: ${{ steps.check_file.outputs.file_exists }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check for .eslintrc.json | |
| id: check_file | |
| run: | | |
| if [ -f .eslintrc.json ]; then | |
| echo "file_exists=true" >> $GITHUB_ENV | |
| else | |
| echo "file_exists=false" >> $GITHUB_ENV | |
| fi | |
| eslint: | |
| name: runner / eslint | |
| runs-on: ubuntu-latest | |
| if: github.env.file_exists == 'true' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check for eslint config | |
| run: | | |
| pwd | |
| if [ ! -f .eslintrc.json ]; then | |
| echo "File not found!" | |
| exit 0 | |
| fi | |
| - run: yarn add global eslint@6.8.0 eslint-plugin-sort-imports-es6-autofix@^0.5.0 eslint-config-airbnb@^18.1.0 eslint-config-airbnb-base@^14.1.0 babel-eslint@^10.1.0 eslint-plugin-import@^2.20.2 | |
| - name: eslint | |
| uses: reviewdog/action-eslint@v1 | |
| with: | |
| reporter: github-pr-review |