Skip to content

Avoid media protecting error if there are multiple registered sizes with the same filename, or thumbnail size file doesn't exist #4513

Avoid media protecting error if there are multiple registered sizes with the same filename, or thumbnail size file doesn't exist

Avoid media protecting error if there are multiple registered sizes with the same filename, or thumbnail size file doesn't exist #4513

Workflow file for this run

###
#
# This workflow file is deployed into this repository via the "Sync Organization Files" workflow
#
# Direct edits to this file are at risk of being overwritten by the next sync. All edits should be made
# to the source file.
#
# @see Sync workflow {@link https://github.com/gocodebox/.github/actions/workflows/workflow-sync.yml}
# @see Workflow template {@link https://github.com/gocodebox/.github/blob/trunk/.github/workflow-templates/lint-js.yml}
#
###
name: Lint JavaScript
on:
workflow_dispatch:
pull_request:
# Once daily at 00:00 UTC.
# schedule:
# - cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ 'pull_request' == github.event_name && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16'
cache: 'npm'
- name: Install npm dependencies
run: npm ci
- name: Run linter
continue-on-error: true
run: npm run lint:js