Skip to content

Run ESLint:Fix

Run ESLint:Fix #148

Workflow file for this run

name: Run ESLint:Fix
on:
schedule:
- cron: '0 06 * * 2'
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Cache npm dependencies
id: cache
uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
- name: Run ESLint:Fix
run: npm run lint:fix
- name: Run build
run: npm run build
- name: Run Tests
run: npm run test
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Run ESLint Fix
title: 'GitHub Action: Run ESLint Fix'
body: >
This PR is auto-generated by
[create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: eslint