diff --git a/.github/workflows/hosted.yml b/.github/workflows/hosted.yml index 49ab9b62f7..b902465085 100644 --- a/.github/workflows/hosted.yml +++ b/.github/workflows/hosted.yml @@ -247,11 +247,11 @@ jobs: python-version: '3.x' architecture: 'x64' - - name: Set up Node 16 + - name: Set up Node 20 if: (matrix.target == 'javascript') || (matrix.target == 'typescript') uses: actions/setup-node@v3.6.0 with: - node-version: '16' + node-version: '20' - name: Setup Dotnet if: matrix.target == 'csharp' diff --git a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/TypeScript.test.stg b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/TypeScript.test.stg index ba8a332809..4df39f55e9 100644 --- a/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/TypeScript.test.stg +++ b/runtime-testsuite/resources/org/antlr/v4/test/runtime/templates/TypeScript.test.stg @@ -1,5 +1,5 @@ -writeln(s) ::= < || '');>> -write(s) ::= < || '');>> +writeln(s) ::= <);>> +write(s) ::= <);>> writeList(s) ::= <);>> False() ::= "false"