Skip to content

Commit

Permalink
chore: Add user information to the ci workflow.
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
joberstein committed Feb 17, 2023
1 parent a213465 commit 42e8d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
extra_config: "@joberstein12/commitlint-config"

- name: Set default git branch
run: git config --global init.defaultBranch master
run: |
git config --global init.defaultBranch master
git config --global user.name "CI Pipeline"
git config --global user.email "[email protected]"
- name: Execute Tests
run: npm test -- --ci
Expand Down
2 changes: 0 additions & 2 deletions src/test/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export default class TestUtils {
intializeGitRepo = () => {
execSync([
"git init",
`git config user.email "[email protected]"`,
`git config user.name "CI Pipeline"`,
"rm -rf .git/hooks",
"mkdir src",
"touch src/test.txt",
Expand Down

0 comments on commit 42e8d82

Please sign in to comment.