From 497155824135d0224ee6ce68762a465ab0d79599 Mon Sep 17 00:00:00 2001 From: Stephan Renatus Date: Wed, 6 Nov 2024 13:14:44 +0100 Subject: [PATCH] workflows/build: 'npm install' from subdir Should be exactly like before, but without the security scanner complaining. Signed-off-by: Stephan Renatus --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dbf47cba..57bc2004 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,7 +43,8 @@ jobs: with: version: ${{ steps.opa.outputs.version }} static: ${{ matrix.os.static }} - - run: npm install --prefix build + - run: npm install + working-directory: build - name: Restore rq cache id: cache-rq uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2