Skip to content

Commit 64e8cbc

Browse files
sbonaimeCopilot
andcommitted
Node 18 => Node 22
Co-authored-by: Copilot <copilot@github.com>
1 parent 72967a3 commit 64e8cbc

4 files changed

Lines changed: 21 additions & 8 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4
15-
15+
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '18'
19+
node-version: '22'
2020
cache: 'npm'
2121
cache-dependency-path: './package-lock.json'
22-
22+
2323
- name: Install dependencies
2424
run: npm ci
2525
working-directory: .
26-
26+
2727
- name: Build
2828
run: npm run build
2929
working-directory: .
30-
30+
3131
- name: Upload Pages artifact
3232
uses: actions/upload-pages-artifact@v3
3333
with:
@@ -37,15 +37,15 @@ jobs:
3737
needs: build
3838
runs-on: ubuntu-latest
3939
if: github.ref == 'refs/heads/main'
40-
40+
4141
permissions:
4242
pages: write
4343
id-token: write
44-
44+
4545
environment:
4646
name: github-pages
4747
url: ${{ steps.deployment.outputs.page_url }}
48-
48+
4949
steps:
5050
- name: Deploy to GitHub Pages
5151
id: deployment

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# WebODM Docs
22

3+
## Requirements
4+
5+
- Node.js 22+
6+
- npm 10+
7+
38
## 🧞 Commands
49

510
All commands are run from the root of the project, from a terminal:

package-lock.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "",
33
"type": "module",
44
"version": "0.0.1",
5+
"engines": {
6+
"node": ">=22.0.0",
7+
"npm": ">=10"
8+
},
59
"scripts": {
610
"dev": "astro dev",
711
"start": "astro dev",

0 commit comments

Comments
 (0)