Skip to content

Introduction VXOR #1120

Introduction VXOR

Introduction VXOR #1120

name: Pull Request CI
on:
pull_request:
push:
branches:
- develop
jobs:
prettier:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install global npm package
run: npm install -g npm@8
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write src/*.md
only_changed: True
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}