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:
|
with:
|
||||||
go-version: "1.25.5"
|
go-version: "1.25.5"
|
||||||
cache: true
|
cache: true
|
||||||
- uses: "actions/setup-node@v4"
|
- uses: "actions/setup-node@v6"
|
||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
- run: "npm i -g npm@11.8.0"
|
||||||
- run: "npm ci"
|
- run: "npm ci"
|
||||||
- uses: "docker/setup-qemu-action@v3"
|
- uses: "docker/setup-qemu-action@v3"
|
||||||
- uses: "docker/setup-buildx-action@v3"
|
- uses: "docker/setup-buildx-action@v3"
|
||||||
@@ -101,10 +102,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.25.5"
|
go-version: "1.25.5"
|
||||||
cache: true
|
cache: true
|
||||||
- uses: "actions/setup-node@v4"
|
- uses: "actions/setup-node@v6"
|
||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
- run: "npm i -g npm@11.8.0"
|
||||||
- run: "npm ci"
|
- run: "npm ci"
|
||||||
- run: "make build"
|
- run: "make build"
|
||||||
- run: "make test"
|
- run: "make test"
|
||||||
@@ -140,10 +142,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: "1.25.5"
|
go-version: "1.25.5"
|
||||||
cache: true
|
cache: true
|
||||||
- uses: "actions/setup-node@v4"
|
- uses: "actions/setup-node@v6"
|
||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
- run: "npm i -g npm@11.8.0"
|
||||||
- run: "sudo apt-get install -y mkcert"
|
- 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"
|
- run: "sudo mkcert -install 2>&1 | grep -v 'no Firefox and/or Chrome/Chromium security databases found' || true"
|
||||||
- uses: "docker/setup-qemu-action@v3"
|
- 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"
|
go-version: "1.25.5"
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
|
- name: Update npm
|
||||||
|
- run: "npm i -g npm@11.8.0"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
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",
|
"name": "probo",
|
||||||
"description": "Probo monorepo containing applications and shared packages",
|
"description": "Probo monorepo containing applications and shared packages",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "v24.4.0"
|
"node": "v24.11.1",
|
||||||
|
"npm": "11.8.0"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"apps/*",
|
"apps/*",
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
"form-data": "^4.0.4"
|
"form-data": "^4.0.4"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"packageManager": "npm@11.1.0",
|
"packageManager": "npm@11.8.0",
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "24.4.0"
|
"node": "24.4.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user