Bump the Node LTS patch version (#1182)

This commit is contained in:
Ara Adkins 2020-10-02 11:25:48 +01:00 committed by GitHub
parent 17ddbd8611
commit 22f1b76428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 36 additions and 9 deletions

View File

@ -7,7 +7,7 @@ on:
branches: ["*"]
env:
nodeVersion: 12.18.0
nodeVersion: 12.18.4
jobs:
check:

View File

@ -90,6 +90,13 @@ jobs:
~/.cache
key: ${{ runner.os }}-sbt-${{ hashFiles('**build.sbt') }}
restore-keys: ${{ runner.os }}-sbt-
- name: Cache Local Maven Repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# Build Artifacts
- name: Enable Release Mode
@ -192,7 +199,7 @@ jobs:
shell: bash
run: |
cd std-bits
mvn package
mvn --no-transfer-progress package
# The way artifacts are uploaded currently does not preserve the
# executable bits for Unix. However putting artifacts into a ZIP would

View File

@ -8,7 +8,7 @@ on:
env:
wasmpackVersion: 0.8.1
nodeVersion: 12.18.0
nodeVersion: 12.18.4
rustToolchain: nightly-2019-11-04
jobs:

View File

@ -99,6 +99,13 @@ jobs:
~/.cache
key: ${{ runner.os }}-sbt-${{ hashFiles('**build.sbt') }}
restore-keys: ${{ runner.os }}-sbt-
- name: Cache Local Maven Repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# Build
- name: Bootstrap Enso project
@ -116,6 +123,11 @@ jobs:
run: |
echo '::set-env name=CI_TEST_TIMEFACTOR::2'
echo '::set-env name=CI_TEST_FLAKY_ENABLE::true'
- name: Prebuild Base Java Extensions
shell: bash
run: |
cd std-bits
mvn --no-transfer-progress package
- name: Build the Launcher
run: |
sleep 1
@ -228,6 +240,13 @@ jobs:
~/.cache
key: ${{ runner.os }}-sbt-${{ hashFiles('**build.sbt') }}
restore-keys: ${{ runner.os }}-sbt-
- name: Cache Local Maven Repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# Build Artifacts
- name: Bootstrap the Project
@ -324,7 +343,7 @@ jobs:
shell: bash
run: |
cd std-bits
mvn package
mvn --no-transfer-progress package
# The way artifacts are uploaded currently does not preserve the
# executable bits for Unix. However putting artifacts into a ZIP would

View File

@ -204,7 +204,7 @@ rustup component add clippy
You will also need `node` in order to run the `wasm` tests. We only support the
latest LTS version of [NodeJS](https://nodejs.org/en/download) and NPM. We
recommend using [`nvm`](https://github.com/nvm-sh/nvm) to manage node versions.
The current LTS is `v12.18.3`.
The current LTS is `v12.18.4`.
### Getting Set Up (JVM)

View File

@ -22,7 +22,7 @@ import scala.jdk.StreamConverters._
*/
trait NativeTest extends AnyWordSpec with Matchers with TimeLimitedTests {
override val timeLimit: Span = 30 seconds
override val timeLimit: Span = 60.seconds
override val defaultTestSignaler: Signaler = _.interrupt()
/**
@ -242,7 +242,7 @@ trait NativeTest extends AnyWordSpec with Matchers with TimeLimitedTests {
*/
def waitForMessageOnErrorStream(
message: String,
timeoutSeconds: Long = 10
timeoutSeconds: Long
): Unit = {
val semaphore = new Semaphore(0)
def handler(line: String, streamType: StreamType): Unit = {

View File

@ -78,7 +78,7 @@ class TestSynchronizer {
/**
* Timeout used by [[waitFor]].
*/
val timeOutSeconds: Long = 10
val timeOutSeconds: Long = 20
/**
* Reports that the event has happened now.

View File

@ -331,7 +331,8 @@ class UpgradeSpec
)
try {
firstSuspended.waitForMessageOnErrorStream(
"INTERNAL-TEST-ACQUIRING-LOCK"
"INTERNAL-TEST-ACQUIRING-LOCK",
timeoutSeconds = 30
)
val secondFailed = run(Seq("upgrade", "0.0.0"))