Skip to content

typesyncがない + Windowsでも動作するよう修正 #7

typesyncがない + Windowsでも動作するよう修正

typesyncがない + Windowsでも動作するよう修正 #7

Workflow file for this run

name: Develop Check
on:
push:
branches-ignore:
- main
env:
project-name: close-to-2
jobs:
check:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 14.17.3
- 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
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ env.project-name }}-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
restore-keys: |
${{ runner.os }}-${{ env.project-name }}-
- name: Package Install
run: yarn install
- name: Lint & Format Check
run: yarn lint-check