Skip to content

Commit d9e65d2

Browse files
committed
fix(e2e): clean up lint workflow
1 parent 889b032 commit d9e65d2

File tree

2 files changed

+5
-41
lines changed

2 files changed

+5
-41
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,7 @@ jobs:
3232
- name: Install project dependencies
3333
run: bun install
3434

35-
- name: Debug Git and Environment
36-
run: |
37-
echo "Current branch:"
38-
git branch --show-current
39-
echo "Available branches:"
40-
git branch -a
41-
echo "Git remotes:"
42-
git remote -v
43-
echo "Last 3 commits:"
44-
git log --oneline -3
45-
echo "Git status:"
46-
git status
47-
echo "NX configuration:"
48-
cat nx.json | head -10
49-
echo "Prettier configuration:"
50-
cat .prettierrc
51-
5235
- name: Lint
5336
run: |
54-
echo "Running format check..."
55-
# Use prettier directly to avoid NX git issues
56-
npx prettier --check . || {
57-
echo "Format check failed. Running prettier --write to fix issues..."
58-
npx prettier --write .
59-
echo "Checking again after formatting..."
60-
npx prettier --check . || {
61-
echo "Still failing after auto-format. Manual intervention needed."
62-
exit 1
63-
}
64-
echo "Auto-formatting successful. All files are now properly formatted."
65-
echo "Note: Some files were auto-formatted. Consider committing these changes in your next commit."
66-
}
67-
echo "Format check passed!"
37+
echo "Running workspace format check..."
38+
NX_DAEMON=false bun run format:check

e2e/src/e2e.spec.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ describe('all', () => {
5858
createExecuteJsTest(ctx, () => ctx.aliceEoaAuthContext)());
5959
it('viewPKPsByAddress', () => createViewPKPsByAddressTest(ctx)());
6060
it('viewPKPsByAuthData', () =>
61-
createViewPKPsByAuthDataTest(
62-
ctx,
63-
ctx.aliceViemAccountAuthData
64-
)());
61+
createViewPKPsByAuthDataTest(ctx, ctx.aliceViemAccountAuthData)());
6562
it('pkpEncryptDecrypt', () =>
6663
createPkpEncryptDecryptTest(ctx, () => ctx.aliceEoaAuthContext)());
6764
it('encryptDecryptFlow', () =>
@@ -99,13 +96,9 @@ describe('all', () => {
9996
createPkpSignTest(ctx, () => ctx.alicePkpAuthContext)());
10097
it('executeJs', () =>
10198
createExecuteJsTest(ctx, () => ctx.alicePkpAuthContext)());
102-
it('viewPKPsByAddress', () =>
103-
createViewPKPsByAddressTest(ctx)());
99+
it('viewPKPsByAddress', () => createViewPKPsByAddressTest(ctx)());
104100
it('viewPKPsByAuthData', () =>
105-
createViewPKPsByAuthDataTest(
106-
ctx,
107-
ctx.aliceViemAccountAuthData
108-
)());
101+
createViewPKPsByAuthDataTest(ctx, ctx.aliceViemAccountAuthData)());
109102
it('pkpEncryptDecrypt', () =>
110103
createPkpEncryptDecryptTest(ctx, () => ctx.alicePkpAuthContext)());
111104
it('encryptDecryptFlow', () =>

0 commit comments

Comments
 (0)