mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 07:35:48 +01:00
21 lines
417 B
YAML
21 lines
417 B
YAML
name: ESLint CodeX
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: ESlint
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Cache dependencies
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-node-
|
|
|
|
- run: yarn
|
|
- run: yarn lint
|