generated from pascalmartineau/wp-skeleton
feat: persistent PNPM_STORE_DIR
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m1s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m1s
This commit is contained in:
@@ -4,6 +4,7 @@ on: [push]
|
||||
|
||||
env:
|
||||
NUXT_PROJECT_PATH: wp-content/themes/ccat
|
||||
PNPM_STORE_DIR: /cache/wp-scripts/pnpm
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -29,7 +30,7 @@ jobs:
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
working-directory: ${{ env.NUXT_PROJECT_PATH }}
|
||||
run: pnpm install
|
||||
run: pnpm install --store-dir=${{ env.PNPM_STORE_DIR }}
|
||||
|
||||
- name: Deploy to NuxtHub
|
||||
working-directory: ${{ env.NUXT_PROJECT_PATH }}
|
||||
|
||||
Reference in New Issue
Block a user