Skip to content

Merge pull request #3 from abhishzk/main-update-experience-add-motion… #22

Merge pull request #3 from abhishzk/main-update-experience-add-motion…

Merge pull request #3 from abhishzk/main-update-experience-add-motion… #22

Workflow file for this run

name: Format
on: push
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: npm install
run: |
npm install
- name: format code
run: |
npm run format
- name: push formatted code
run: |
git config --global user.name "abhishzk" github-actions
git config --global user.email "[email protected]" [email protected]
git add --all
git diff-index --quiet HEAD || git commit -m "Format Code"
git pull
git push