From 9e847c1abe48dbc464b797dec5e50610208e7b89 Mon Sep 17 00:00:00 2001 From: Eyal Bukchin Date: Sun, 28 Aug 2022 17:16:33 +0300 Subject: [PATCH] Set typescript version (#286) * Set typescript version to 4.7.4 --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3629a434f5d..0a49020c0cf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -122,7 +122,8 @@ jobs: run: | echo "::set-output name=version::$(grep -m 1 version Cargo.toml | cut -d' ' -f3 | tr -d '\"' | cut -d'-' -f1)" id: version - - run: npm install -g vsce typescript esbuild + # TypeScript set at 4.7.4 because @kubernetes/client-node 0.16.3 (and 0.17.0) breaks with version 4.8.2+ + - run: npm install -g vsce typescript@4.7.4 esbuild - run: cp CHANGELOG.md LICENSE vscode-ext/ - run: cp /tmp/artifacts/x86_64-unknown-linux-gnu/libmirrord_layer.so vscode-ext/ - run: cd vscode-ext && npm install && tsc && vsce publish ${{ steps.version.outputs.version }} --target linux-x64