-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from sunnydanu/pr-1319-feat(new-tool)-code-hi…
…ghlighter Pr 1319 feat(new tool) code highlighter
- Loading branch information
Showing
122 changed files
with
23,038 additions
and
644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github: | ||
- CorentinTh | ||
- sunnydanu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,5 @@ coverage | |
/playwright-report/ | ||
/playwright/.cache/ | ||
# Webkit with playwright creates a salt file | ||
salt | ||
salt | ||
sandbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm install && pnpm vitest --environment jsdom --run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm install && pnpm vitest --environment jsdom --run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm lint && pnpm typecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
|
||
# Check for uncommitted changes | ||
if ! git diff HEAD --quiet; then | ||
echo "You have uncommitted changes. Please commit them before pushing." | ||
exit 1 | ||
fi | ||
|
||
# Run tests and type checking | ||
pnpm vitest --environment jsdom --run && pnpm typecheck | ||
TEST_EXIT_STATUS=$? | ||
|
||
# If the tests or type checks fail, exit | ||
if [ $TEST_EXIT_STATUS -ne 0 ]; then | ||
echo "Tests or type check failed. Push aborted." | ||
exit $TEST_EXIT_STATUS | ||
fi | ||
|
||
# Start the local server in the background | ||
pnpm dev& | ||
SERVER_PID=$! | ||
|
||
# Wait for the server to start (adjust the sleep duration as needed) | ||
sleep 5 | ||
|
||
# Run Playwright tests | ||
pnpm test:e2e:dev | ||
|
||
# Capture the exit status of the Playwright tests | ||
E2E_TEST_EXIT_STATUS=$? | ||
|
||
# Kill the server after tests are done | ||
kill $SERVER_PID | ||
|
||
# Exit with the status of the Playwright tests | ||
exit $E2E_TEST_EXIT_STATUS |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @sunnydanu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.