Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Update dependency lint-staged to v11.2.6 #1363

Update dependency lint-staged to v11.2.6

Update dependency lint-staged to v11.2.6 #1363

Workflow file for this run

# Document: https://help.github.com/ja/actions
name: CI TEST
on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- name: Checkout πŸ›Ž ${{ matrix.node }}
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/setup-node@v2.5.2
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Get yarn cache directory path πŸ› 
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules πŸ“¦
uses: actions/cache@v2.1.8
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
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 linter πŸ‘€
run: yarn lint:format
- name: Run script linter πŸ‘€
run: yarn lint:script
- name: Run style linter πŸ‘€
run: yarn lint:style
- name: Run tests πŸ§ͺ
run: yarn test