Skip to content

Merge branch 'main' into create-pull-request/patch-1723155258 #1010

Merge branch 'main' into create-pull-request/patch-1723155258

Merge branch 'main' into create-pull-request/patch-1723155258 #1010

Workflow file for this run

name: Commit Check
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
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: Install dependencies
run: yarn install --frozen-lockfile
- name: Run format check
run: yarn format:check
- name: Run lint
run: yarn lint
- name: Run build
run: yarn build