Skip to content

Run Prettier:Fix

Run Prettier:Fix #154

Workflow file for this run

name: Run Prettier:Fix
on:
schedule:
- cron: '0 10 * * 1'
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@v4
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 Prettier:Fix
run: npm run prettier: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@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Run Prettier Fix
title: 'GitHub Action: Run Prettier Fix'
body: >
This PR is auto-generated by
[create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: prettier