Skip to content

Commit c5615db

Browse files
fix(ci): specify yarn package manager in corepack enable command
1 parent 40bec8e commit c5615db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Build assets (npm)
8484
run: |
8585
if [ -f yarn.lock ]; then
86-
corepack enable || true
86+
corepack enable yarn || true
8787
yarn install --frozen-lockfile
8888
yarn build
8989
else

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ __metadata:
24612461
"@wordpress/scripts": "npm:^30.26.0"
24622462
"@wordpress/stylelint-config": "npm:^23.25.0"
24632463
autoprefixer: "npm:^10.4.21"
2464-
eslint: "npm:8"
2464+
eslint: "npm:^8.57.1"
24652465
postcss: "npm:^8.5.6"
24662466
prettier: "npm:^3.6.2"
24672467
react: "npm:18"
@@ -7703,7 +7703,7 @@ __metadata:
77037703
languageName: node
77047704
linkType: hard
77057705

7706-
"eslint@npm:8, eslint@npm:^8.3.0":
7706+
"eslint@npm:^8.3.0, eslint@npm:^8.57.1":
77077707
version: 8.57.1
77087708
resolution: "eslint@npm:8.57.1"
77097709
dependencies:

0 commit comments

Comments
 (0)