Skip to content

Commit 2ee1d7b

Browse files
Dependency updates including Vite 7, Node 24 (#1239)
* Tweak eslint after the upgrade introduces new failures * Lock in older JS output after Vite update
1 parent 509b01b commit 2ee1d7b

9 files changed

Lines changed: 2315 additions & 1650 deletions

File tree

.eslintrc.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ module.exports = {
5555
ignoreRestSiblings: true,
5656
},
5757
],
58+
// Empty interfaces extending a base type are used for component props
59+
"@typescript-eslint/no-empty-object-type": "off",
60+
// Short-circuit expressions like `x && x.click()` are idiomatic
61+
"@typescript-eslint/no-unused-expressions": "off",
5862
// Temporary, new rules on Vite migration that are widely flouted
5963
"@typescript-eslint/no-explicit-any": "off",
6064
"prefer-const": "off",
6165
"react/display-name": "off",
66+
// TypeScript handles prop validation
67+
"react/prop-types": "off",
6268
},
6369
};

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929

3030
steps:
3131
# Note: This workflow disables deployment steps and micro:bit branding installation on forks.
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333
- name: Configure node
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@v6
3535
with:
36-
node-version: 20.x
36+
node-version: 24.x
3737
cache: "npm"
3838
registry-url: "https://npm.pkg.github.com"
3939
- run: npm ci
@@ -56,12 +56,12 @@ jobs:
5656
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
5757
- name: Run Playwright tests
5858
if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING'
59-
uses: docker://mcr.microsoft.com/playwright:v1.42.1-jammy
59+
uses: docker://mcr.microsoft.com/playwright:v1.58.2-noble
6060
with:
6161
args: npx playwright test
6262
- name: Store reports
6363
if: (env.STAGE == 'REVIEW' || env.STAGE == 'STAGING') && failure()
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v7
6565
with:
6666
name: reports
6767
path: reports/

0 commit comments

Comments
 (0)