Skip to content

Merge pull request #550 from Atom-Learning/DS-444-πŸ‘©πŸ»β€πŸ’»-build-extend-a… #342

Merge pull request #550 from Atom-Learning/DS-444-πŸ‘©πŸ»β€πŸ’»-build-extend-a…

Merge pull request #550 from Atom-Learning/DS-444-πŸ‘©πŸ»β€πŸ’»-build-extend-a… #342

Workflow file for this run

name: auto-fix
on:
push:
branches:
- 'main'
jobs:
auto-fix:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
ref: ${{ github.head_ref }}
- name: Setup environment
uses: actions/[email protected]
with:
node-version: '14'
- name: Install dependencies
run: yarn install
- name: Run ESLint (Library)
working-directory: lib
run: yarn lint
- name: Run Prettier (Library)
working-directory: lib
run: yarn format
- name: Run Prettier (Documentation)
working-directory: documentation
run: yarn format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: apply auto-fix changes'