Skip to content

Commit 42d4d67

Browse files
🪲 Revert pipeline updates (LayerZero-Labs#348)
1 parent 31e9e9a commit 42d4d67

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

‎.github/workflows/actions/setup-environment/action.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ description: Setup node & package manager, checkout code
33
runs:
44
using: "composite"
55
steps:
6-
- name: Enable corepack
7-
shell: bash
8-
run: corepack enable
6+
- uses: pnpm/action-setup@v2
7+
name: Install pnpm
8+
with:
9+
version: 8
10+
run_install: false
911

1012
- name: Setup Node.js
1113
uses: actions/setup-node@v4

‎.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx lint-staged
4+
pnpm lint-staged

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
},
2626
"lint-staged": {
2727
"**/*": [
28-
"npx prettier --write --ignore-unknown",
29-
"npx eslint --fix"
28+
"pnpm prettier --write --ignore-unknown",
29+
"pnpm eslint --fix"
3030
]
3131
},
3232
"resolutions": {

0 commit comments

Comments
 (0)