Skip to content

js

js #1016

Workflow file for this run

name: js
on:
push:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
js:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- name: eslint
run: |
yarn install --no-lockfile
yarn eslint . --fix
- name: push changes
run: |
git add -A
git config user.name "GitHub"
git config user.email "[email protected]"
git diff-index --quiet HEAD || git commit -sm "eslint"
git push