From 116a888f31ad740f05770146fcad886fe0d99b6e Mon Sep 17 00:00:00 2001 From: Marek Rusinowski Date: Fri, 8 Dec 2023 00:08:39 +0100 Subject: [PATCH] Pin node version in scripts to 18.18 (#232) There is issue with node 18.19 and also newer version breaking ts-node: https://github.com/TypeStrong/ts-node/issues/2094. This is a quick fix until finding a more proper solution. --- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/sync_map.yaml | 2 +- .nvmrc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 413fe28..bc1e09a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: cache-dependency-path: scripts/py/requirements.txt - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 18.18 cache: npm cache-dependency-path: scripts/js/package-lock.json - uses: actions/cache@v3 @@ -100,7 +100,7 @@ jobs: cache-dependency-path: scripts/py/requirements.txt - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 18.18 cache: npm cache-dependency-path: scripts/js/package-lock.json - uses: actions/cache@v3 @@ -199,7 +199,7 @@ jobs: cache-dependency-path: scripts/py/requirements.txt - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 18.18 cache: npm cache-dependency-path: scripts/js/package-lock.json - uses: actions/cache@v3 @@ -245,7 +245,7 @@ jobs: cache-dependency-path: scripts/py/requirements.txt - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 18.18 cache: npm cache-dependency-path: scripts/js/package-lock.json - name: Install dependencies diff --git a/.github/workflows/sync_map.yaml b/.github/workflows/sync_map.yaml index 1690298..498316c 100644 --- a/.github/workflows/sync_map.yaml +++ b/.github/workflows/sync_map.yaml @@ -54,7 +54,7 @@ jobs: cache-dependency-path: scripts/py/requirements.txt - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 18.18 cache: npm cache-dependency-path: scripts/js/package-lock.json - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index 3c03207..4a58985 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +18.18