Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: autofix.ci

on:
pull_request:
push:
branches: ["main"]

permissions:
contents: read
Comment thread
yamadashy marked this conversation as resolved.

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v5

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # ratchet:actions/setup-node@v4
with:
node-version-file: .tool-versions
cache: npm
Comment thread
yamadashy marked this conversation as resolved.

- name: Install dependencies
run: npm ci

- name: Run biome with auto-fix
run: npm run lint-biome
continue-on-error: true

- name: Run oxlint with auto-fix
run: npm run lint-oxlint
continue-on-error: true

- name: Fix website client linting
working-directory: website/client
run: |
npm ci
npm run lint
continue-on-error: true

- name: Fix website server linting
working-directory: website/server
run: |
npm ci
npm run lint
continue-on-error: true

- name: Fix browser extension linting
working-directory: browser
run: |
npm ci
npm run lint
continue-on-error: true

- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # ratchet:autofix-ci/action@v1.3.2
Loading