mirror of
https://github.com/codex-team/editor.js
synced 2026-03-23 02:24:37 +01:00
* ci: update deprecated GitHub Actions runners ci: update GitHub Actions runners from ubuntu-20.04 to ubuntu-latest * fix: pin Node 18 in CI workflows for eslint compatibility * fix(ci): pin Firefox 115 ESR for Cypress compatibility
25 lines
496 B
YAML
25 lines
496 B
YAML
name: ESLint CodeX
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: ESlint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- 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
|