Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Node 18 -> 22

Matt Roberts851b39e366ed
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7a7f047de..7c3a7d74b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,4 +1,4 @@
-name: build
+22: build
on:
push:
@@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Use Node.js 18.x
+ - name: Use Node.js 22.x
uses: actions/setup-node@v1
with:
- node-version: 18.x
+ node-version: 22.x
- run: npm ci
- run: make lint-ui
- run: make test-ui
@@ -53,10 +53,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.22
- - name: Use Node.js 18.x
+ - name: Use Node.js 22.x
uses: actions/setup-node@v1
with:
- node-version: 18.x
+ node-version: 22.x
- run: npm ci # required for esbuild
- name: install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.0
@@ -124,10 +124,10 @@ jobs:
browser: ["chromium", "webkit", "firefox"]
steps:
- uses: actions/checkout@v2
- - name: Use Node.js 18.x
+ - name: Use Node.js 22.x
uses: actions/setup-node@v1
with:
- node-version: 18.x
+ node-version: 22.x
- uses: actions/download-artifact@v2
with:
name: fider-image
@@ -178,10 +178,10 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- - name: Use Node.js 18.x
+ - name: Use Node.js 22.x
uses: actions/setup-node@v1
with:
- node-version: 18.x
+ node-version: 22.x
- uses: actions/download-artifact@v2
with:
name: fider-image
diff --git a/.nvmrc b/.nvmrc
index f8824128a..1fba266e9 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-v18.*
+v22.*
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 25197445b..39f89154d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -22,7 +22,7 @@ If you know these technologies or would like to learn them, lucky you! This is t
| Software | How to install | What is it used for |
| ----------- | -------------------------------------------------------------- | --------------------------------------------------------- |
| Go 1.22+ | https://golang.org/ | To compile server side code |
-| Node.js 18+ | https://nodejs.org/ or run `nvm use` if you have nvm installed | To compile TypeScript and bundle all the client side code |
+| Node.js 22+ | https://nodejs.org/ or run `nvm use` if you have nvm installed | To compile TypeScript and bundle all the client side code |
| Docker | https://www.docker.com/ | To start local PostgreSQL instances |
#### 2. To setup your development workspace:
diff --git a/package-lock.json b/package-lock.json
index 10ba18bd3..5c9407e75 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -67,8 +67,8 @@
"webpack-cli": "4.9.2"
},
"engines": {
- "node": "16.x || 17.x",
- "npm": "8.x"
+ "node": "21.x || 22.x",
+ "npm": "10.x"
}
},
"node_modules/@ampproject/remapping": {
diff --git a/package.json b/package.json
index 660828f15..b3febf87d 100644
--- a/package.json
+++ b/package.json
@@ -116,8 +116,8 @@
}
},
"engines": {
- "npm": "8.x",
- "node": "18.x || 19.x"
+ "npm": "10.x",
+ "node": "21.x || 22.x"
},
"scripts": {
"heroku-postbuild": "make build-ssr && make build-ui"