Skip to content

Bump eslint from 8.57.0 to 9.11.1 #11801

Bump eslint from 8.57.0 to 9.11.1

Bump eslint from 8.57.0 to 9.11.1 #11801

Workflow file for this run

name: CI Workflow
on:
push:
branches:
- master
pull_request:
defaults:
run:
shell: bash
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up reviewdog
uses: reviewdog/action-setup@v1
- name: Set up .env
run: cp .env{.example,}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
id: build
with:
context: .
target: build
cache-from: type=gha
cache-to: type=gha,mode=max
load: true
build-args: |
CI
- name: Run eslint
if: ${{ always() && steps.build.conclusion == 'success' }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cwd=$(docker run --rm ${{ steps.build.outputs.imageid }} pwd)
docker run --rm ${{ steps.build.outputs.imageid }} yarn lint:js |
sed "s!$cwd/!!g" |
reviewdog -f=eslint -reporter=github-pr-annotations -filter-mode=nofilter -fail-on-error -tee
- name: Run stylelint
if: ${{ always() && steps.build.conclusion == 'success' }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
docker run --rm ${{ steps.build.outputs.imageid }} yarn lint:css 2>&1 |
reviewdog -f=stylelint -reporter=github-pr-annotations -filter-mode=nofilter -fail-on-error -tee