Skip to content

Bump the stylelint group with 2 updates (#5693) #12200

Bump the stylelint group with 2 updates (#5693)

Bump the stylelint group with 2 updates (#5693) #12200

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: Extract .env
if: ${{ github.ref_name == 'master' }}
run: echo "$ENVFILE" > .env
env:
ENVFILE: ${{ secrets.ENVFILE }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into Container Registry
if: ${{ github.ref_name == 'master' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- 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
push: ${{ github.ref_name == 'master' }}
tags: |
ghcr.io/chitoku-k/chitoku.jp:latest
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-level=any -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-level=any -tee