Skip to content

Commit

Permalink
chore: update Node.js version to 22.x in workflows and package.json (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Feb 19, 2025
1 parent f86faac commit d816383
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extends:
steps:
- task: UseNode@1
inputs:
version: '18.x'
version: '22.x'
displayName: 'Install Node.js'
- script: npm ci
displayName: Install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build site
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/roll-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
roll-docs:
name: Roll Playwright to ToT
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
Expand All @@ -20,7 +20,7 @@ jobs:
path: playwright
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install dependencies
run: npm ci
- name: Roll
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/roll-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/github-script@v7
id: determine-version
Expand All @@ -33,7 +33,7 @@ jobs:
ref: 'release-${{ steps.determine-version.outputs.result }}'
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Install dependencies
run: npm ci
- name: Delete previous Stable
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"clsx": "^2.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-lite-youtube-embed": "^2.4.0",
"react-loadable": "^5.5.0"
"react-lite-youtube-embed": "^2.4.0"
},
"browserslist": {
"production": [
Expand All @@ -62,7 +61,7 @@
"@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/tsconfig": "3.7.0",
"@playwright/test": "^1.50.1",
"@types/node": "^20.17.10",
"@types/node": "^22.13.4",
"@types/react": "^18.3.5",
"@types/react-router-dom": "^5.3.3",
"axe-sarif-converter": "^3.0.0",
Expand Down

0 comments on commit d816383

Please sign in to comment.