Skip to content

Commit 83d1431

Browse files
committed
Migrate changetool to pr-checks
1 parent 977e6ce commit 83d1431

12 files changed

Lines changed: 20 additions & 498 deletions

File tree

.github/workflows/pr-checks.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -77,33 +77,6 @@ jobs:
7777
sarif_file: eslint.sarif
7878
category: eslint
7979

80-
changetool-tests:
81-
name: changetool unit tests
82-
permissions:
83-
contents: read
84-
runs-on: ubuntu-slim
85-
timeout-minutes: 10
86-
87-
concurrency:
88-
cancel-in-progress: ${{ github.event_name == 'pull_request' || false }}
89-
group: pr-checks-changetool-tests-${{ github.ref }}-${{ github.event_name }}
90-
91-
steps:
92-
- name: Checkout repository
93-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
94-
95-
- name: Set up Node.js
96-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
97-
with:
98-
node-version: 24
99-
cache: 'npm'
100-
101-
- name: Install dependencies
102-
run: npm ci
103-
104-
- name: Run changetool unit tests
105-
run: npm --workspace changetool test
106-
10780
# These checks do not need to be run as part of the same matrix that we use for the `unit-tests`
10881
# job.
10982
other-checks:

eslint.config.mjs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default [
180180
},
181181
},
182182
{
183-
files: ["pr-checks/**/*.ts"],
183+
files: ["pr-checks/**/*.ts", "pr-checks/**/*.mts"],
184184

185185
languageOptions: {
186186
parserOptions: {
@@ -209,18 +209,4 @@ export default [
209209
],
210210
},
211211
},
212-
{
213-
files: ["scripts/changetool/**/*.ts"],
214-
215-
languageOptions: {
216-
parserOptions: {
217-
project: "./scripts/changetool/tsconfig.json",
218-
},
219-
},
220-
221-
rules: {
222-
"no-console": "off",
223-
"import/extensions": "off",
224-
},
225-
},
226212
];

0 commit comments

Comments
 (0)