Skip to content

ci(sendsay-docs): autofix #3

ci(sendsay-docs): autofix

ci(sendsay-docs): autofix #3

Workflow file for this run

name: Autofix
on: [pull_request]
jobs:
checks:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup git
run: |
git config --global user.email "[email protected]"
git config --global user.name "sendsay-cat"
- name: Setup ssh-key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SENDSAY_CAT_KEY }}
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install packages
run: yarn install --frozen-lockfile
- name: Lint
id: lint
run: yarn lint
- name: Autofix
if: ${{ steps.lint.outcome != 'success' }}
run: ./bin/autofix.sh