-
-
Notifications
You must be signed in to change notification settings - Fork 12
50 lines (41 loc) · 1.08 KB
/
bump_oxlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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