-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4373 from coralproject/revert-4350-feat/upgrade-t…
…o-node-18 Revert "[CORL-2384] Upgrade to Node 18"
- Loading branch information
Showing
36 changed files
with
7,860 additions
and
7,433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ env: | |
jobs: | ||
build-and-test: | ||
name: Build and Test | ||
runs-on: coral-ci | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout | ||
|
@@ -43,10 +43,10 @@ jobs: | |
name: Define SHORT_SHA with commit short sha | ||
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV | ||
- | ||
name: Setup Node18.x | ||
name: Setup Node14.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.16.x' | ||
node-version: '14.x' | ||
- | ||
name: Install npm 8 | ||
run: npm i -g [email protected] --registry=https://registry.npmjs.org | ||
|
@@ -108,7 +108,7 @@ jobs: | |
npx @coralproject/package-version-lint | ||
- | ||
name: Run Server Unit Tests | ||
run: cd server && npm run test:server -- --ci --reporters=default --reporters=jest-junit | ||
run: cd server && npm run test:server -- --ci --runInBand --reporters=default --reporters=jest-junit | ||
- | ||
name: Run Client Stream Unit Tests | ||
run: cd client && npm run test:client:stream -- --ci --runInBand --reporters=default --reporters=jest-junit | ||
|
@@ -121,7 +121,7 @@ jobs: | |
- | ||
name: Build | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=14336" | ||
NODE_OPTIONS: "--max-old-space-size=8192" | ||
run: sh scripts/build.sh | ||
- | ||
name: Verify Bundle Size | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ env: | |
jobs: | ||
build-and-test: | ||
name: Build, Test, and Deploy | ||
runs-on: coral-ci | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout | ||
|
@@ -51,10 +51,10 @@ jobs: | |
name: Define RC_TAG | ||
run: echo "RC_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- | ||
name: Setup Node18.x | ||
name: Setup Node14.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.16.x' | ||
node-version: '14.x' | ||
- | ||
name: Install npm 8 | ||
run: npm i -g [email protected] --registry=https://registry.npmjs.org | ||
|
@@ -121,7 +121,7 @@ jobs: | |
- | ||
name: Build | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=14336" | ||
NODE_OPTIONS: "--max-old-space-size=8192" | ||
run: sh scripts/build.sh | ||
- | ||
name: Verify Bundle Size | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM node:18-alpine | ||
FROM node:14-alpine | ||
|
||
ENV NODE_OPTIONS="--max-old-space-size=8192 --openssl-legacy-provider --no-experimental-fetch" | ||
ENV NODE_OPTIONS=--max-old-space-size=8192 | ||
|
||
# Install build dependancies. | ||
RUN apk --no-cache --update add g++ make git python3 \ | ||
&& rm -rf /var/cache/apk/* | ||
RUN apk --no-cache add git python3 | ||
|
||
RUN npm install -g [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.