Skip to content

Bump @vitest/mocker and vitest #95

Bump @vitest/mocker and vitest

Bump @vitest/mocker and vitest #95

name: Fix Code Styling
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 20
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Format code
run: npm run format
- name: Fix lint issues
run: npm run lint -- --fix
- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7
with:
commit_message: "Fix code styling"
branch: ${{ github.head_ref || github.ref_name }}