Skip to content

init

init #1

Workflow file for this run

name: Format
on:
push:
pull_request:
branches: [main]
jobs:
format:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: "14.x"
- run: npm install --save-dev prettier
- run: npm run format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}