Skip to content

Commit baacca7

Browse files
committed
Updating nodejs version
1 parent ca33865 commit baacca7

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set Node.js version
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: "12.x"
19+
node-version: "14.x"
2020
- run: node setVersion.js
2121
working-directory: .\components\text-to-socket-engine
2222
- run: |
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set Node.js version
4848
uses: actions/setup-node@v2
4949
with:
50-
node-version: "12.x"
50+
node-version: "14.x"
5151
- uses: actions/download-artifact@v2
5252
with:
5353
name: text-to-socket-engine-x86

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set Node.js version
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: "12.x"
16+
node-version: "14.x"
1717
- run: npm i -g pnpm
1818
- run: pnpm update -r --latest -E
1919
- run: pnpm install p-queue@6.6.2

vagrant/win10-chromium-nvda/Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,19 @@ namespace Win32Api
106106
107107
echo "Installing node.js..."
108108
Expand-Archive -Path C:\\vagrant\\software\\node.zip -DestinationPath C:\\
109-
netsh advfirewall firewall add rule name="Allow nodejs" dir=in action=allow program="c:\\node-v12.16.3-win-x64\\node.exe" enable=yes
109+
netsh advfirewall firewall add rule name="Allow nodejs" dir=in action=allow program="c:\\node-v14.17.6-win-x64\\node.exe" enable=yes
110110
111111
echo "Installing assistive-playwright-server and text-to-socket-engine..."
112-
\$p = Start-Process -FilePath c:\\node-v12.16.3-win-x64\\npm.cmd -ArgumentList "install","--scripts-prepend-node-path=true","-g","c:\\vagrant\\win10-chromium-nvda-vm-0.0.0.tgz" -Wait -NoNewWindow -PassThru
112+
\$p = Start-Process -FilePath c:\\node-v14.17.6-win-x64\\npm.cmd -ArgumentList "install","--scripts-prepend-node-path=true","-g","c:\\vagrant\\win10-chromium-nvda-vm-0.0.0.tgz" -Wait -NoNewWindow -PassThru
113113
if ( \$p.ExitCode -ne 0 ) { exit \$p.ExitCode }
114-
\$p = Start-Process -FilePath c:\\node-v12.16.3-win-x64\\node_modules\\win10-chromium-nvda-vm\\node_modules\\.bin\\text-to-socket-engine-register.cmd -Wait -NoNewWindow -PassThru
114+
\$p = Start-Process -FilePath c:\\node-v14.17.6-win-x64\\node_modules\\win10-chromium-nvda-vm\\node_modules\\.bin\\text-to-socket-engine-register.cmd -Wait -NoNewWindow -PassThru
115115
if ( \$p.ExitCode -ne 0 ) { exit \$p.ExitCode }
116116
117117
echo "Configuring startup and environment..."
118118
Copy-Item "C:\\vagrant\\start.cmd" -Destination C:\\
119119
Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run' -Name StartCmd -Type String -Value 'c:\\start.cmd'
120120
\$curPath = Get-ItemPropertyValue -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment' -Name PATH
121-
Set-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment' -Name PATH -Type ExpandString -Value "\$curPath;c:\\node-v12.16.3-win-x64;c:\\chromedriver_win32;c:\\chrome-win"
121+
Set-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment' -Name PATH -Type ExpandString -Value "\$curPath;c:\\node-v14.17.6-win-x64;c:\\chromedriver_win32;c:\\chrome-win"
122122
123123
echo "Setup finished successfully!"
124124
SHELL

vagrant/win10-chromium-nvda/start.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
22

3-
start "assistive-playwright-server" /min "c:\node-v12.16.3-win-x64\node_modules\win10-chromium-nvda-vm\node_modules\.bin\assistive-playwright-server.cmd"
3+
start "assistive-playwright-server" /min "c:\node-v14.17.6-win-x64\node_modules\win10-chromium-nvda-vm\node_modules\.bin\assistive-playwright-server.cmd"
44
start "selenium-server" /min "c:\jdk-14.0.1\bin\java.exe" -jar "c:\selenium-server.jar"
55
start "nvda" /min "c:\Program Files (x86)\NVDA\nvda.exe"

vagrant/win10-chromium-nvda/urls.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb326336a2/7/G
1010
https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
1111
out=selenium-server.jar
1212
checksum=sha-512=29ae1e11e51744478e55ba12f6d0dbc06ce7850886701e84d97bb44a675af5f0d8c5bb7b8278365718657e9cec34a69b390cc7568dc2fe710c3256a1effed2ac
13-
https://nodejs.org/dist/v12.16.3/node-v12.16.3-win-x64.zip
13+
https://nodejs.org/dist/v14.17.6/node-v14.17.6-win-x64.zip
1414
out=node.zip
15-
checksum=sha-512=3cee3f6d691a08e5e665b9ff92e7fa242d237abb138bfd88975641f9e1931a58895a8130e615e1cb54ddc8d819a783e2e937766ce7fa3ab9bf36890aa787f415
15+
checksum=sha-512=3c4e08a3cebc96ec25d0316f0eb958fb899f44b071efaa83c572e1c5d63d70783759732be5021f624342321163d1652862c5fcc23a5890ec7777b1fd5b7c38fc
1616
# cf https://www.chromium.org/getting-involved/download-chromium
1717
https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Win%2F782792%2Fchrome-win.zip?generation=1593136034368251&alt=media
1818
out=chrome.zip

0 commit comments

Comments
 (0)