mirror of
https://github.com/codex-team/editor.js
synced 2026-03-17 08:05:47 +01:00
* fix(inline-tools): inline tools shortcuts now works in read-only mode * use ubuntu-20.04 instead of latest
23 lines
512 B
YAML
23 lines
512 B
YAML
name: ESLint CodeX
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: ESlint
|
|
runs-on: ubuntu-20.04
|
|
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
|
|
- run: yarn lint
|