mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
Part of #2020 - Add `@typescript-eslint` plugin rules - w/ refactoring - Fix compile errors to add other plugins - Remove not intended unsupported rule in `eslint` (Use #2117 for updating for a while?)
31 lines
726 B
YAML
31 lines
726 B
YAML
name: Update lint_rules list
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'crates/oxc_linter/**'
|
|
- 'tasks/lint_rules/**'
|
|
|
|
jobs:
|
|
lint_rules:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- name: Checkout Branch
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Rust
|
|
uses: moonrepo/setup-rust@v1 # Cache everything to speed up compilation
|
|
with:
|
|
cache-base: main
|
|
|
|
- name: Build lint_rules task
|
|
run: cargo build -p lint_rules
|
|
|
|
- name: Update eslint
|
|
run: cargo run -p lint_rules eslint --update
|
|
- name: Update @typescript-eslint
|
|
run: cargo run -p lint_rules typescript --update
|