Skip to content

Commit 4c9858e

Browse files
authored
ci: add v9.x-dev branch (#20382)
* ci: add `v9.x-dev` branch * use `@eslint/json` v0.14.0 in types integration tests * don't use latest `@eslint/core` in `@eslint/json` types tests
1 parent e277281 commit 4c9858e

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI
22
on:
33
push:
4-
branches: [main]
4+
branches: [main, v9.x-dev]
55
pull_request:
6-
branches: [main]
6+
branches: [main, v9.x-dev]
77

88
permissions:
99
contents: read

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [main]
16+
branches: [main, v9.x-dev]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [main]
19+
branches: [main, v9.x-dev]
2020
schedule:
2121
- cron: "28 17 * * 5"
2222

.github/workflows/docs-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: CI
22
on:
33
push:
4-
branches: [main]
4+
branches: [main, v9.x-dev]
55
paths:
66
- "docs/**"
77

88
pull_request:
9-
branches: [main]
9+
branches: [main, v9.x-dev]
1010
paths:
1111
- "docs/**"
1212

.github/workflows/types-integration.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI
22
on:
33
push:
4-
branches: [main]
4+
branches: [main, v9.x-dev]
55
pull_request:
6-
branches: [main]
6+
branches: [main, v9.x-dev]
77

88
permissions:
99
contents: read
@@ -156,6 +156,7 @@ jobs:
156156
uses: actions/checkout@v5
157157
with:
158158
repository: eslint/json
159+
ref: json-v0.14.0 # Tag of the last version that is compatible with ESLint v9
159160
path: json
160161

161162
- uses: actions/setup-node@v6
@@ -171,7 +172,7 @@ jobs:
171172
run: |
172173
npm install
173174
npm run build
174-
npm install ../eslint @eslint/core@latest
175+
npm install ../eslint
175176
176177
- name: Run TSC
177178
working-directory: json

0 commit comments

Comments
 (0)