Skip to content

fix: hasPostedDate

fix: hasPostedDate #25

Workflow file for this run

name: Lint
# Don't limit by paths so that Lint can be used as a required workflow.
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths.
on:
push:
branches:
- master
paths:
- '**.js'
# Allows this workflow to be called from other workflows.
workflow_call:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
run-linters:
name: Run Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install Node.js dependencies
run: npm ci
- name: Run linter action
uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_args: "--config .eslintrc.yml --ignore-path .eslintignore"
auto_fix: true
commit_message: |
chore(lint): fix issues with ${linter}
[skip ci]
# `[skip ci]` skips workflow calls triggered by this eslint fix push.
# See https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs