Skip to content

chore(deps): lock file maintenance #548

chore(deps): lock file maintenance

chore(deps): lock file maintenance #548

Workflow file for this run

name: Build
# https://docs.github.com/ja/free-pro-team@latest/actions/reference/events-that-trigger-workflows#%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E4%BE%8B
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-setup@v1
- name: Cache node_modules
uses: actions/cache@v4
env:
version: "20200909"
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-cache-v${{ env.version }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-cache-v${{ env.version }}-
${{ runner.os }}-cache-
${{ runner.os }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Prettier
run: yarn prettier --check .
- name: Reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn textlint -f checkstyle README.md docs/**/*.md | reviewdog -f=checkstyle -name=textlint -reporter=github-pr-review