mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 00:24:56 -06:00
Bump NodeJS to v18
This commit is contained in:
parent
9460db9f0e
commit
1de4e6092b
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
node-version: [18.x]
|
||||
os: [ubuntu-latest, windows-2019, macos-latest]
|
||||
|
||||
steps:
|
||||
|
4
.github/workflows/cve-scanning-node.yml
vendored
4
.github/workflows/cve-scanning-node.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
node-version: [18.x]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
@ -23,4 +23,4 @@ jobs:
|
||||
- run: npm config set package-lock false
|
||||
# TODO - this is ignoring package-lock.json
|
||||
- run: npm install --prod --ignore-scripts
|
||||
- run: npx --yes auditjs ossi --whitelist allow-list.json
|
||||
- run: npx --yes auditjs ossi --whitelist allow-list.json
|
||||
|
@ -28,7 +28,7 @@ RUN apt-get install -y \
|
||||
rpm
|
||||
|
||||
# install node
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
|
||||
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
# Clone specific branch and repo
|
||||
|
@ -1,7 +1,7 @@
|
||||
## Prerequisites
|
||||
|
||||
### Windows
|
||||
- NodeJS version >= 14.x.y (corresponds to electron 14.x.y)
|
||||
- NodeJS version >= 18.16.0
|
||||
- Microsoft Visual Studio 2017 Community or Paid (C++ and .NET/C# development tools)
|
||||
- Python >= 2.7.1
|
||||
- Dot Net 3.5 SP1 or later
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
### Mac
|
||||
- Xcode command line tools. Or better, Xcode latest version
|
||||
- NodeJS version >= 14.x.y (corresponds to electron 14.x.y)
|
||||
- NodeJS version >= 18.16.0
|
||||
- [Sudre Packages](http://s.sudre.free.fr/Software/Packages/about.html)
|
||||
|
||||
#### Notes
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
NODE_REQUIRED_VERSION=v12.13.1
|
||||
NODE_REQUIRED_VERSION=v18.16.0
|
||||
SNYK_ORG=sda
|
||||
SNYK_PROJECT_NAME="Symphony Desktop Application"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
echo "Unlocking keychain"
|
||||
security -v unlock-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN_NAME"
|
||||
|
||||
NODE_REQUIRED_VERSION=v16.13.2
|
||||
NODE_REQUIRED_VERSION=v18.16.0
|
||||
SNYK_ORG=sda
|
||||
SNYK_PROJECT_NAME="Symphony Desktop Application"
|
||||
|
||||
@ -100,7 +100,7 @@ sed -i -e 's/\"url\"[[:space:]]*\:[[:space:]]*\".*\"/\"url\":\"https:\/\/my.symp
|
||||
# Setup the build version
|
||||
echo "Setting build version to ${PARENT_BUILD_VERSION}"
|
||||
sed -i -e "s/\"buildNumber\"[[:space:]]*\:[[:space:]]*\".*\"/\"buildNumber\": \"${PARENT_BUILD_VERSION}\"/g" package.json
|
||||
sed -i -e "s/\"version\"[[:space:]]*\:[[:space:]]\"\(.*\)\"/\"version\": \"\1-${PARENT_BUILD_VERSION}\"/g" package.json
|
||||
sed -i -e "s/\"version\"[[:space:]]*\:[[:space:]]\"\(.*\)\"/\"version\": \"\1-${PARENT_BUILD_VERSION}\"/g" package.json
|
||||
|
||||
# Replace version number in pre-install script
|
||||
echo "Setting package version in pre install script to ${PKG_VERSION}"
|
||||
|
@ -5,7 +5,7 @@ call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd
|
||||
echo %PATH%
|
||||
|
||||
set DISABLE_REBUILD=true
|
||||
set NODE_REQUIRED_VERSION=16.13.2
|
||||
set NODE_REQUIRED_VERSION=18.16.0
|
||||
set SNYK_ORG=sda
|
||||
set SNYK_PROJECT_NAME="Symphony Desktop Application"
|
||||
|
||||
|
@ -5,7 +5,7 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tool
|
||||
echo %PATH%
|
||||
|
||||
set DISABLE_REBUILD=true
|
||||
set NODE_REQUIRED_VERSION=16.13.2
|
||||
set NODE_REQUIRED_VERSION=18.16.0
|
||||
set SNYK_ORG=sda
|
||||
set SNYK_PROJECT_NAME="Symphony Desktop Application"
|
||||
|
||||
@ -39,7 +39,7 @@ call snyk config set api=%SNYK_API_TOKEN%
|
||||
|
||||
:: Below command replaces buildVersion with the appropriate build number from jenkins
|
||||
sed -i -e "s/\"buildNumber\"[[:space:]]*\:[[:space:]]*\".*\"/\"buildNumber\": \"%PARENT_BUILD_VERSION%\"/g" package.json
|
||||
sed -i -e "s/\"version\"[[:space:]]*\:[[:space:]]\"\(.*\)\"/\"version\": \"\1-%PARENT_BUILD_VERSION%\"/g" package.json
|
||||
sed -i -e "s/\"version\"[[:space:]]*\:[[:space:]]\"\(.*\)\"/\"version\": \"\1-%PARENT_BUILD_VERSION%\"/g" package.json
|
||||
|
||||
:: Copy search libraries onto the project root
|
||||
echo "Copying search libraries"
|
||||
|
Loading…
Reference in New Issue
Block a user