Back to node 16, again

This commit is contained in:
Dustin Brett
2023-06-05 21:11:50 -07:00
parent a03b9469be
commit 17f3f080d1
3 changed files with 2 additions and 11 deletions

View File

@@ -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

View File

@@ -1,6 +1,4 @@
FROM node:18-alpine
ENV NODE_OPTIONS=--openssl-legacy-provider
FROM node:16-alpine
RUN apk add --no-cache git

View File

@@ -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",