Skip to content

Merge branch 'master' of https://github.com/ego-lay-atman-bay/snapblocks #5

Merge branch 'master' of https://github.com/ego-lay-atman-bay/snapblocks

Merge branch 'master' of https://github.com/ego-lay-atman-bay/snapblocks #5

Workflow file for this run

name: Format code
on: [push, pull_request]
jobs:
run:
name: Format code
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
token: ${{ github.token }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install
run: npm ci
- name: Prettier
run: npm run fmt
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Format code using Prettier"
branch: ${{ github.head_ref }}