generated from actions/typescript-action
-
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.
- Loading branch information
Showing
4 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -151,12 +151,12 @@ export async function run(): Promise<void> { | |
command: "npm i --ignore-scripts", | ||
}); | ||
|
||
// run Static Analysis | ||
const cemStr: StepResponse | undefined = await commandComment({ | ||
label: "Custom Elements Manifest", | ||
command: "npm run analyze", | ||
}); | ||
|
||
// run Static Analysis | ||
const eslintStr: StepResponse | undefined = doStaticAnalysis | ||
? await eslint({ label: "ESLint", command: "npm run lint" }) | ||
: undefined; | ||
|
@@ -173,14 +173,14 @@ export async function run(): Promise<void> { | |
? await commandComment({ label: "Prettier", command: "npm run prettier" }) | ||
: undefined; | ||
|
||
// run Tests | ||
const playwrightStr: StepResponse | undefined = doTests | ||
? await playwright({ | ||
label: "Install PlayWright Browsers", | ||
command: "npx playwright install --with-deps", | ||
}) | ||
: undefined; | ||
|
||
// run Tests | ||
const testingStr: StepResponse | undefined = doTests | ||
? await testing({ | ||
label: "Testing", | ||
|
@@ -199,6 +199,7 @@ export async function run(): Promise<void> { | |
'echo "modified=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)" >> $GITHUB_ENV', | ||
}); | ||
|
||
// TODO: THIS DIDN't fail | ||
const updateChangesStr: StepResponse | undefined = await updateChanges({ | ||
label: "Update changes in GitHub repository", | ||
command: "", | ||
|
@@ -207,8 +208,7 @@ export async function run(): Promise<void> { | |
'git config --global user.email "[email protected]"', | ||
"git add -A", | ||
'git commit -m "[automated commit] lint format and import sort"', | ||
"git brokenSTRING push", | ||
// "git push", | ||
"git wiugfeiuwegf push", | ||
], | ||
}); | ||
|
||
|
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