Skip to content

Commit

Permalink
chore: add autofix.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve authored May 8, 2023
1 parent 6af3366 commit 6224f33
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/autofix-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: autofix.ci
on:
push:
branches:
- main

pull_request: {}

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup PNPM
run: corepack enable

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: ni --no-frozen-lockfile

- name: Stub
run: nr stub

- name: Lint and fix
run: nr lint:fix

- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160

0 comments on commit 6224f33

Please sign in to comment.