diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 853bd8dd..d9181198 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 - - name: Set openssl legacy flag - run: | - echo "NODE_OPTIONS=" >> "$GITHUB_ENV" - echo "NODE_OPTIONS=--openssl-legacy-provider" >> "$GITHUB_ENV" + node-version: 16 - name: Install Modules run: yarn install - name: Run Build diff --git a/Dockerfile b/Dockerfile index 6f1d6d83..fbc312d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ -FROM node:18-alpine - -ENV NODE_OPTIONS=--openssl-legacy-provider +FROM node:16-alpine RUN apk add --no-cache git diff --git a/package.json b/package.json index b68e1df4..9391adf6 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,6 @@ "browserslist": [ "defaults and supports es6 and not ie 11 and >1%" ], - "engines": { - "node": ">=18" - }, "scripts": { "build": "yarn build:prebuild && next build", "build:bundle-analyzer": "yarn build",