Skip to content

ざっくり復活

ざっくり復活 #77

Workflow file for this run

name: ESLint
on:
push:
branches:
- "**"
jobs:
ci-skip-check:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[ci skip]')"
steps:
- run: echo "${{ github.event.head_commit.message }}"
lint:
runs-on: ubuntu-latest
needs: ci-skip-check
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.18.2"
- name: Cache npm
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- run: npm install
- run: npm run lint