mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
6f22859717
## Summary - update `oxc-project/setup-node` from v1.4.0 to v1.4.1 across all workflows - pick up `pnpm/action-setup` v6.0.10, whose newer bootstrap fixes broken `@pnpm/exe` shims during package-manager self-updates The setup action fix was released after oxc-project/setup-node#34.
37 lines
991 B
YAML
37 lines
991 B
YAML
name: Update implementation status of all linter plugins
|
|
|
|
permissions: {}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ".github/workflows/lint_rules.yml"
|
|
- "crates/oxc_linter/src/rules.rs"
|
|
- "crates/oxc_linter/src/utils/mod.rs" # here are the remaps for some plugins
|
|
- "tasks/lint_rules/**"
|
|
|
|
jobs:
|
|
lint_rules:
|
|
if: github.repository == 'oxc-project/oxc'
|
|
runs-on: ubuntu-slim
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
steps:
|
|
- name: Checkout Branch
|
|
uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
|
|
|
- uses: oxc-project/setup-node@f46a72f95efdc55273fcd042d61c84e723b2892c # v1.4.1
|
|
|
|
- name: Install latest plugins
|
|
working-directory: tasks/lint_rules
|
|
# Use `-f` to bypass peer dependency problems.
|
|
run: npm install -f
|
|
|
|
- name: Run task
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: node ./tasks/lint_rules --update
|