ci: add prettier format check (#2908)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-06-29 04:13:35 +00:00
1 parent 2c95bfcc3d
commit e08ee9b7ff
9 files changed
+78 -60

No files matched your search

+5 -2
View File
@@ -8,8 +8,11 @@ import { test as baseTest } from '@playwright/test';
export const rootDir = resolve(__dirname, '..', '..');
// assert that the rootDir is the root of the project
// eslint-disable-next-line @typescript-eslint/no-var-requires
ok(require(resolve(rootDir, 'package.json')).name.toLowerCase() === '@affine/monorepo');
ok(
// eslint-disable-next-line @typescript-eslint/no-var-requires
require(resolve(rootDir, 'package.json')).name.toLowerCase() ===
'@affine/monorepo'
);
export const testResultDir = resolve(rootDir, 'test-results');