Skip to content

Use options instead of transients for saving the notice delay #3562

Use options instead of transients for saving the notice delay

Use options instead of transients for saving the notice delay #3562

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