Skip to content

Merge pull request #35 from ymrl/update_node #33

Merge pull request #35 from ymrl/update_node

Merge pull request #35 from ymrl/update_node #33

Workflow file for this run

name: Format by Prettier
on:
push:
branches:
- master
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install NPM packages
run: npm ci
- name: Run Prettier
run: npm run format
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply Prettier Change