Feature/1069 chatroom復元 #6
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: 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' |