Skip to content

chore(package): add semantic release #30

chore(package): add semantic release

chore(package): add semantic release #30

Workflow file for this run

name: format
on:
push:
branches: [ "master", "main" ]
jobs:
format-code-on-push:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Email
run: git config --local user.email ${{ github.event.pusher.email }}
- name: Configure Name
run: git config --local user.name ${{ github.event.pusher.name }}
- name: Git Status
run: git status
- name: Format Code Style
run: npm run format
- name: Stage Changes
run: git add .
- name: Save Changes
run: git commit -m "[Auto-format code on push]" -m "Formatted the last commit -> '${{ github.event.head_commit.message }}'"
- name: Push Changes
run: git push --force