Skip to content

Bump oxlint

Bump oxlint #5

Workflow file for this run

name: Bump oxlint
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
branches:
- 'renovate/oxlint-**'
paths:
- package.json
permissions:
pull-requests: write
contents: write
env:
OXLINT_PACKAGE_NAME: oxlint
jobs:
bump-oxlint-rules:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- name: Install pnpm
run: corepack enable
- name: Set node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm
- name: Install Dependencies
run: pnpm i
- name: Bump oxlint rules
run: |
pnpm run clone
# Generate rules from latest oxlint
pnpm run generate
# Update test snapshots
pnpm run test -u
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'bump oxlint'
commit_user_name: 'github-actions[bot]'
commit_user_email: '41898282+github-actions[bot]@users.noreply.github.com'
commit_author: Boshen