From ee02c426abd89a87a4899f74389682faa34e62e3 Mon Sep 17 00:00:00 2001 From: charburgx Date: Wed, 18 Sep 2024 22:52:01 -0700 Subject: [PATCH] chore: run npm install as admin on windows --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a2d21ac..09e1c48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,7 +50,7 @@ jobs: node-version: 20 - name: Install dependencies - run: npm ci + run: ${{ matrix.osname == 'win' && "runas /user:Administrator 'npm install'" || "npm ci" }} - name: Bundle CLI run: npm run bundle:cli