Skip to content

chore(release): 2.2.1 #90

chore(release): 2.2.1

chore(release): 2.2.1 #90

Workflow file for this run

name: Ensure code is formatted
on:
push:
paths-ignore:
- 'docs/**'
- 'dist/**'
concurrency: ci-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'chore(release): ')"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- run: git pull --rebase
- name: Install node_modules
run: yarn
- name: Format
run: yarn format
- name: Commit changes
uses: EndBug/add-and-commit@v9
if: ${{ github.ref == 'refs/heads/master' }}
with:
author_name: high5-bot
author_email: [email protected]
message: 'style: format code with prettier'
add: '.'
push: true