Skip to content

Commit

Permalink
Merge pull request #8494 from ever-co/develop
Browse files Browse the repository at this point in the history
chore: attempt to update node-gyp
  • Loading branch information
evereq authored Oct 26, 2024
2 parents 7f58673 + b230ef6 commit cafd8c8
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 328 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ aliases:
sudo apt install python3-distutils
sudo apt install -y curl gnupg git libappindicator3-1 ca-certificates binutils icnsutils graphicsmagick
python3 -m pip install packaging setuptools
sudo npm install --quiet node-gyp@9.3.1 -g
sudo npm install --quiet node-gyp@10.2.0 -g
sudo npm config set python /usr/bin/python
- &install-yarn
Expand Down
4 changes: 2 additions & 2 deletions .deploy/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ RUN npm --version
# Output Python3 version
RUN python3 --version

RUN npm install --quiet node-gyp@9.3.1 -g
RUN npm install --quiet node-gyp@10.2.0 -g
RUN npm install yarn -g --force
RUN mkdir /srv/gauzy && chown -R node:node /srv/gauzy

Expand Down Expand Up @@ -206,7 +206,7 @@ RUN npm --version
# Output Python3 version
RUN python3 --version

RUN npm install --quiet node-gyp@9.3.1 -g
RUN npm install --quiet node-gyp@10.2.0 -g
RUN npm install yarn -g --force
RUN mkdir /srv/gauzy && chown -R node:node /srv/gauzy

Expand Down
43 changes: 3 additions & 40 deletions .github/workflows/desktop-app-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: 'npm install -g npm@9'

- name: Install node-gyp package
run: 'npm install --quiet -g node-gyp@9.3.1'
run: 'npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand All @@ -187,43 +187,6 @@ jobs:

- name: Build Desktop App
run: |
# we need to clear some environment variables to avoid the error about limit of env vars size
set AZURE_CONFIG_DIR=
set AZURE_DEVOPS_CACHE_DIR=
set AZURE_EXTENSION_DIR=
set STATS_BLT=
set STATS_D=
set STATS_D_D=
set STATS_EXT=
set STATS_EXTP=
set STATS_RDCL=
set STATS_TIS=
set STATS_TRP=
set STATS_UE=
set STATS_V3PS=
set STATS_VMD=
set STATS_VMFE=
set ANDROID_HOME=
set ANDROID_NDK=
set ANDROID_NDK_HOME=
set ANDROID_NDK_LATEST_HOME=
set ANDROID_NDK_ROOT=
set ANDROID_SDK_ROOT=
set GOROOT_1_20_X64=
set GOROOT_1_21_X64=
set GOROOT_1_22_X64=
set GRADLE_HOME=
set JAVA_HOME=
set JAVA_HOME_11_X64=
set JAVA_HOME_17_X64=
set JAVA_HOME_21_X64=
set JAVA_HOME_8_X64=
set PGBIN=
set PGDATA=
set PGPASSWORD=
set PGROOT=
set PGUSER=
set PHPROOT=
yarn build:desktop:windows:release:gh
env:
USE_HARD_LINKS: false
Expand Down
43 changes: 3 additions & 40 deletions .github/workflows/desktop-app-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: 'npm install -g npm@9'

- name: Install node-gyp package
run: 'npm install --quiet -g node-gyp@9.3.1'
run: 'npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand All @@ -187,43 +187,6 @@ jobs:

- name: Build Desktop App
run: |
# we need to clear some environment variables to avoid the error about limit of env vars size
set AZURE_CONFIG_DIR=
set AZURE_DEVOPS_CACHE_DIR=
set AZURE_EXTENSION_DIR=
set STATS_BLT=
set STATS_D=
set STATS_D_D=
set STATS_EXT=
set STATS_EXTP=
set STATS_RDCL=
set STATS_TIS=
set STATS_TRP=
set STATS_UE=
set STATS_V3PS=
set STATS_VMD=
set STATS_VMFE=
set ANDROID_HOME=
set ANDROID_NDK=
set ANDROID_NDK_HOME=
set ANDROID_NDK_LATEST_HOME=
set ANDROID_NDK_ROOT=
set ANDROID_SDK_ROOT=
set GOROOT_1_20_X64=
set GOROOT_1_21_X64=
set GOROOT_1_22_X64=
set GRADLE_HOME=
set JAVA_HOME=
set JAVA_HOME_11_X64=
set JAVA_HOME_17_X64=
set JAVA_HOME_21_X64=
set JAVA_HOME_8_X64=
set PGBIN=
set PGDATA=
set PGPASSWORD=
set PGROOT=
set PGUSER=
set PHPROOT=
yarn build:desktop:windows:release:gh
env:
USE_HARD_LINKS: false
Expand Down
43 changes: 3 additions & 40 deletions .github/workflows/desktop-timer-app-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: 'npm install -g npm@9'

- name: Install node-gyp package
run: 'npm install --quiet -g node-gyp@9.3.1'
run: 'npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand All @@ -187,43 +187,6 @@ jobs:

- name: Build Desktop Timer App
run: |
# we need to clear some environment variables to avoid the error about limit of env vars size
set AZURE_CONFIG_DIR=
set AZURE_DEVOPS_CACHE_DIR=
set AZURE_EXTENSION_DIR=
set STATS_BLT=
set STATS_D=
set STATS_D_D=
set STATS_EXT=
set STATS_EXTP=
set STATS_RDCL=
set STATS_TIS=
set STATS_TRP=
set STATS_UE=
set STATS_V3PS=
set STATS_VMD=
set STATS_VMFE=
set ANDROID_HOME=
set ANDROID_NDK=
set ANDROID_NDK_HOME=
set ANDROID_NDK_LATEST_HOME=
set ANDROID_NDK_ROOT=
set ANDROID_SDK_ROOT=
set GOROOT_1_20_X64=
set GOROOT_1_21_X64=
set GOROOT_1_22_X64=
set GRADLE_HOME=
set JAVA_HOME=
set JAVA_HOME_11_X64=
set JAVA_HOME_17_X64=
set JAVA_HOME_21_X64=
set JAVA_HOME_8_X64=
set PGBIN=
set PGDATA=
set PGPASSWORD=
set PGROOT=
set PGUSER=
set PHPROOT=
yarn build:desktop-timer:windows:release:gh
env:
USE_HARD_LINKS: false
Expand Down
43 changes: 3 additions & 40 deletions .github/workflows/desktop-timer-app-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: 'npm install -g npm@9'

- name: Install node-gyp package
run: 'npm install --quiet -g node-gyp@9.3.1'
run: 'npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -206,43 +206,6 @@ jobs:
- name: Build Desktop Timer App
run: |
# we need to clear some environment variables to avoid the error about limit of env vars size
set AZURE_CONFIG_DIR=
set AZURE_DEVOPS_CACHE_DIR=
set AZURE_EXTENSION_DIR=
set STATS_BLT=
set STATS_D=
set STATS_D_D=
set STATS_EXT=
set STATS_EXTP=
set STATS_RDCL=
set STATS_TIS=
set STATS_TRP=
set STATS_UE=
set STATS_V3PS=
set STATS_VMD=
set STATS_VMFE=
set ANDROID_HOME=
set ANDROID_NDK=
set ANDROID_NDK_HOME=
set ANDROID_NDK_LATEST_HOME=
set ANDROID_NDK_ROOT=
set ANDROID_SDK_ROOT=
set GOROOT_1_20_X64=
set GOROOT_1_21_X64=
set GOROOT_1_22_X64=
set GRADLE_HOME=
set JAVA_HOME=
set JAVA_HOME_11_X64=
set JAVA_HOME_17_X64=
set JAVA_HOME_21_X64=
set JAVA_HOME_8_X64=
set PGBIN=
set PGDATA=
set PGPASSWORD=
set PGROOT=
set PGUSER=
set PHPROOT=
yarn build:desktop-timer:windows:release:gh
env:
USE_HARD_LINKS: false
Expand Down
43 changes: 3 additions & 40 deletions .github/workflows/server-api-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: 'sudo npm install -g npm@9'

- name: Install node-gyp package
run: 'sudo npm install --quiet -g node-gyp@9.3.1'
run: 'sudo npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
run: 'npm install -g npm@9'

- name: Install node-gyp package
run: 'npm install --quiet -g node-gyp@9.3.1'
run: 'npm install --quiet -g node-gyp@10.2.0'

- name: Install Yarn dependencies
run: 'yarn install --network-timeout 1000000 --frozen-lockfile'
Expand All @@ -187,43 +187,6 @@ jobs:

- name: Build Server
run: |
# we need to clear some environment variables to avoid the error about limit of env vars size
set AZURE_CONFIG_DIR=
set AZURE_DEVOPS_CACHE_DIR=
set AZURE_EXTENSION_DIR=
set STATS_BLT=
set STATS_D=
set STATS_D_D=
set STATS_EXT=
set STATS_EXTP=
set STATS_RDCL=
set STATS_TIS=
set STATS_TRP=
set STATS_UE=
set STATS_V3PS=
set STATS_VMD=
set STATS_VMFE=
set ANDROID_HOME=
set ANDROID_NDK=
set ANDROID_NDK_HOME=
set ANDROID_NDK_LATEST_HOME=
set ANDROID_NDK_ROOT=
set ANDROID_SDK_ROOT=
set GOROOT_1_20_X64=
set GOROOT_1_21_X64=
set GOROOT_1_22_X64=
set GRADLE_HOME=
set JAVA_HOME=
set JAVA_HOME_11_X64=
set JAVA_HOME_17_X64=
set JAVA_HOME_21_X64=
set JAVA_HOME_8_X64=
set PGBIN=
set PGDATA=
set PGPASSWORD=
set PGROOT=
set PGUSER=
set PHPROOT=
yarn build:gauzy-api-server:windows:release:gh
env:
USE_HARD_LINKS: false
Expand Down
Loading

0 comments on commit cafd8c8

Please sign in to comment.