Skip to content

Ax/scrum 178 Finish updating auth.test.ts unit tests (#149) #158

Ax/scrum 178 Finish updating auth.test.ts unit tests (#149)

Ax/scrum 178 Finish updating auth.test.ts unit tests (#149) #158

Workflow file for this run

name: Format the code
on:
workflow_dispatch:
push:
jobs:
format:
runs-on: ubuntu-latest
name: Format Files
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Prettier
run: npx prettier --write **/*.{js,ts,tsx,json,md}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
with:
commit_message: "Auto-formatted the code using Prettier"