Skip to content

Feature/1071 スクロール追加 #10

Feature/1071 スクロール追加

Feature/1071 スクロール追加 #10

Workflow file for this run

name: lint
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
branches:
- develop
jobs:
lint:
name: lint
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: checkout
uses: actions/[email protected]
- name: set up node
uses: actions/[email protected]
with:
node-version: "20"
- name: install stylelint #依存関係周りでエラー出るのでここに書いた
working-directory: client
run: npm install stylelint stylelint-config-standard-scss --legacy-peer-deps
- name: biome-lint
uses: mongolyy/reviewdog-action-biome@v1
with:
workdir: client
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
filter_mode: 'added'
- name: stylelint
uses: reviewdog/action-stylelint@v1
with:
workdir: client
fail_on_error: 'true'
filter_mode: 'added'
reporter: github-pr-review # Change reporter.
stylelint_input: '**/*.scss'