This repository has been archived by the owner on May 25, 2024. It is now read-only.
chore(deps): update babel monorepo to v7.24.6 #1639
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: reviewdog | |
on: | |
pull_request: | |
branches: | |
- development | |
jobs: | |
eslint: | |
name: check_eslint_error | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.1' | |
- uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Yarn install | |
run: yarn install --frozen-lockfile | |
- name: eslint review | |
uses: reviewdog/action-eslint@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
eslint_flags: './**/*.{vue,ts,js}' | |
stylelint: | |
name: check_stylelint_error | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: stylelint review | |
uses: reviewdog/action-stylelint@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-check | |
stylelint_input: '**/*.{css,scss,vue}' |