Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: autofix kode error
on:
pull_request:
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
- run: npx prettier --write .
- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc