fix: add PowerShell execution policy setting to Windows jobs

This commit is contained in:
Naoki Oketani
2025-05-04 03:32:18 +00:00
parent 1e27b66366
commit e85a172294
2 changed files with 12 additions and 2 deletions

View File

@@ -84,6 +84,10 @@ jobs:
# - uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node }}
# # Set PowerShell execution policy for this process
# - name: Set PowerShell execution policy
# shell: powershell
# run: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
# # Node.js 20 already includes a recent npm version, so npm upgrade is not needed
# - name: Run npm audit action
# uses: ./