fix: add .npmrc for allowed scripts

This commit is contained in:
2025-05-16 01:38:06 +08:00
parent 3974fbe6bf
commit d5ed76c867
2 changed files with 2 additions and 3 deletions

View File

@@ -56,9 +56,7 @@ jobs:
restore-keys: |
${{ runner.os }}-nuxt-build-
- name: Install dependencies
run: |
echo "y" | pnpm approve-builds
pnpm install
run: pnpm install
- name: Static HTML export with Nuxt
run: pnpm generate
- name: Upload artifact

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
allowed-dep-scripts=@parcel/watcher, @tailwindcss/oxide, esbuild, sharp, unrs-resolver