mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 01:42:29 +02:00
25 lines
522 B
YAML
25 lines
522 B
YAML
|
name: ESLint CodeX
|
||
|
|
||
|
on: [pull_request]
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
name: ESlint
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Cache node modules
|
||
|
uses: actions/cache@v1
|
||
|
with:
|
||
|
path: node_modules
|
||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
||
|
restore-keys: |
|
||
|
${{ runner.OS }}-build-${{ env.cache-name }}-
|
||
|
${{ runner.OS }}-build-
|
||
|
${{ runner.OS }}-
|
||
|
|
||
|
- run: yarn install
|
||
|
|
||
|
- run: yarn lint
|