Update node to LTS and npm to avoid issue with optional dependencies on natives
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
9
.github/workflows/make.yaml
vendored
9
.github/workflows/make.yaml
vendored
@@ -25,10 +25,11 @@ jobs:
|
||||
with:
|
||||
go-version: "1.25.5"
|
||||
cache: true
|
||||
- uses: "actions/setup-node@v4"
|
||||
- uses: "actions/setup-node@v6"
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
cache: "npm"
|
||||
- run: "npm i -g npm@11.8.0"
|
||||
- run: "npm ci"
|
||||
- uses: "docker/setup-qemu-action@v3"
|
||||
- uses: "docker/setup-buildx-action@v3"
|
||||
@@ -101,10 +102,11 @@ jobs:
|
||||
with:
|
||||
go-version: "1.25.5"
|
||||
cache: true
|
||||
- uses: "actions/setup-node@v4"
|
||||
- uses: "actions/setup-node@v6"
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
cache: "npm"
|
||||
- run: "npm i -g npm@11.8.0"
|
||||
- run: "npm ci"
|
||||
- run: "make build"
|
||||
- run: "make test"
|
||||
@@ -140,10 +142,11 @@ jobs:
|
||||
with:
|
||||
go-version: "1.25.5"
|
||||
cache: true
|
||||
- uses: "actions/setup-node@v4"
|
||||
- uses: "actions/setup-node@v6"
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
cache: "npm"
|
||||
- run: "npm i -g npm@11.8.0"
|
||||
- run: "sudo apt-get install -y mkcert"
|
||||
- run: "sudo mkcert -install 2>&1 | grep -v 'no Firefox and/or Chrome/Chromium security databases found' || true"
|
||||
- uses: "docker/setup-qemu-action@v3"
|
||||
|
||||
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@@ -31,11 +31,14 @@ jobs:
|
||||
go-version: "1.25.5"
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
cache: "npm"
|
||||
|
||||
- name: Update npm
|
||||
- run: "npm i -g npm@11.8.0"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
6158
package-lock.json
generated
6158
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,8 @@
|
||||
"name": "probo",
|
||||
"description": "Probo monorepo containing applications and shared packages",
|
||||
"engines": {
|
||||
"node": "v24.4.0"
|
||||
"node": "v24.11.1",
|
||||
"npm": "11.8.0"
|
||||
},
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
@@ -25,7 +26,7 @@
|
||||
"form-data": "^4.0.4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"packageManager": "npm@11.1.0",
|
||||
"packageManager": "npm@11.8.0",
|
||||
"volta": {
|
||||
"node": "24.4.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user