Use glob pattern for hash key
This commit is contained in:
parent
c78577ee22
commit
fc705cff77
|
@ -61,7 +61,7 @@ jobs:
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
plugins/woocommerce/packages
|
plugins/woocommerce/packages
|
||||||
plugins/woocommerce/**/vendor
|
plugins/woocommerce/**/vendor
|
||||||
key: ${{ runner.os }}-npm-composer-${{ hashFiles('plugins/woocommerce/composer.lock', '**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-npm-composer-${{ hashFiles('**/composer.lock', '**/pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
plugins/woocommerce/packages
|
plugins/woocommerce/packages
|
||||||
plugins/woocommerce/**/vendor
|
plugins/woocommerce/**/vendor
|
||||||
key: ${{ runner.os }}-npm-composer-${{ hashFiles('plugins/woocommerce/composer.lock', '**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-npm-composer-${{ hashFiles('**/composer.lock', '**/pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
plugins/woocommerce/packages
|
plugins/woocommerce/packages
|
||||||
plugins/woocommerce/**/vendor
|
plugins/woocommerce/**/vendor
|
||||||
key: ${{ runner.os }}-npm-composer-${{ hashFiles('plugins/woocommerce/composer.lock', '**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-npm-composer-${{ hashFiles('**/composer.lock', '**/pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
package/woocommerce/plugins/woocommerce/packages
|
package/woocommerce/plugins/woocommerce/packages
|
||||||
package/woocommerce/plugins/woocommerce/**/vendor
|
package/woocommerce/plugins/woocommerce/**/vendor
|
||||||
key: ${{ runner.os }}-smoke-test-npm-composer-${{ hashFiles('plugins/woocommerce/composer.lock', '**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-smoke-test-npm-composer-${{ hashFiles('**/composer.lock', '**/pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
~/.pnpm-store
|
~/.pnpm-store
|
||||||
plugins/woocommerce/packages
|
plugins/woocommerce/packages
|
||||||
plugins/woocommerce/**/vendor
|
plugins/woocommerce/**/vendor
|
||||||
key: ${{ runner.os }}-npm-composer-${{ hashFiles('plugins/woocommerce/composer.lock', '**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-npm-composer-${{ hashFiles('**/composer.lock', '**/pnpm-lock.yaml') }}
|
||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
|
|
Loading…
Reference in New Issue