diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index ad7b4934fa53..743976ce1d7f 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -252,7 +252,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "19" + node-version: "16" cache: yarn cache-dependency-path: ui/yarn.lock - run: yarn --cwd ui install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 565f7c1f2182..0cb8526c5513 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,7 +68,7 @@ jobs: if [ $tag = "master" ]; then tag="latest" fi - + tag_suffix=$(echo $PLATFORM | sed -r "s/\//-/g") image_name="${DOCKERIO_ORG}/${TARGET}:${tag}-${tag_suffix}" @@ -141,7 +141,7 @@ jobs: if [ $tag = "master" ]; then tag="latest" fi - + tag_suffix=$(echo $PLATFORM | sed -r "s/\//-/g") image_name="${DOCKERIO_ORG}/${TARGET}:${tag}-${tag_suffix}" @@ -348,7 +348,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "19" + node-version: "16" - uses: actions/setup-go@v3 with: go-version: "1.19" diff --git a/Dockerfile b/Dockerfile index 357bfa29255a..9b8a6db483b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY . . #################################################################################################### -FROM node:19-alpine as argo-ui +FROM node:16-alpine as argo-ui RUN apk update && apk add --no-cache git diff --git a/docs/running-locally.md b/docs/running-locally.md index 93ab92eb40de..0233a92c2a44 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -38,11 +38,11 @@ Note: ## Requirements -* [Go 1.18](https://golang.org/dl/) +* [Go](https://golang.org/dl/) * [Yarn](https://classic.yarnpkg.com/en/docs/install/#mac-stable) * [Docker](https://docs.docker.com/get-docker/) * [`protoc`](http://google.github.io/proto-lens/installing-protoc.html) -* [`node` >= 16.15.0](https://nodejs.org/download/release/latest-v16.x/) for running the UI +* [`node`](https://nodejs.org/download/release/latest-v16.x/) for running the UI * A local Kubernetes cluster ([`k3d`](https://k3d.io/), [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start/#installation), or [`minikube`](https://minikube.sigs.k8s.io/docs/start/)) We recommend using [K3D](https://k3d.io/) to set up the local Kubernetes cluster since this will allow you to test RBAC diff --git a/ui/package.json b/ui/package.json index 7a56f431b5a2..2139955d458f 100644 --- a/ui/package.json +++ b/ui/package.json @@ -6,13 +6,13 @@ "src" ], "scripts": { - "build": "rm -Rf dist && NODE_OPTIONS='--openssl-legacy-provider' NODE_ENV=production webpack --mode production --config ./src/app/webpack.config.js", - "start": "NODE_OPTIONS='--no-experimental-fetch --openssl-legacy-provider' webpack-dev-server --config ./src/app/webpack.config.js", + "build": "rm -Rf dist && NODE_OPTIONS='' NODE_ENV=production webpack --mode production --config ./src/app/webpack.config.js", + "start": "NODE_OPTIONS='--no-experimental-fetch' webpack-dev-server --config ./src/app/webpack.config.js", "lint": "tslint --fix -p ./src/app", "test": "jest" }, "engines": { - "node": ">=19" + "node": ">=16" }, "dependencies": { "argo-ui": "https://github.com/argoproj/argo-ui.git#v2.5.0",