From 53efd3a7941e08650018933edf9301538e75e0cd Mon Sep 17 00:00:00 2001 From: avifenesh Date: Mon, 27 May 2024 15:48:51 +0000 Subject: [PATCH] added sudo to ts install --- .github/workflows/npm-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-cd.yml b/.github/workflows/npm-cd.yml index b2207a0d6d..b5779e13a4 100644 --- a/.github/workflows/npm-cd.yml +++ b/.github/workflows/npm-cd.yml @@ -254,7 +254,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} test-release-candidate: - if: github.event_name != 'pull_request' && contains(github.ref, 'rc') + if: github.event_name != 'pull_request' name: Test the release candidate needs: [publish-base-to-npm, output-matrix] runs-on: ${{ matrix.build.RUNNER }} @@ -318,7 +318,7 @@ jobs: working-directory: ./utils run: | npm install - npm install -g typescript + sudo npm install -g typescript npx tsc -p ./tsconfig.json - name: Run the tests