CI - Add git hooks and staging checks #128

Merged
enes merged 13 commits from issue-38-90-pipeline-check into staging 2024-08-07 13:54:35 +00:00
Member
  • Add git hooks on package preinstall (pre-commit, commit-msg)
  • Run lint and prettier on staged files with pre-commit hook

Staging workflow:

  • Add lint check
  • Add formatter (prettier) check
  • #38 partially completed
    • include licence checker
    • pre-commit git hook for checking code formatting
  • Closes #90
    • add audit
    • add licenses list
- Add git hooks on package preinstall (`pre-commit`, `commit-msg`) - Run lint and prettier on staged files with `pre-commit` hook Staging workflow: - Add lint check - Add formatter (prettier) check - #38 partially completed - include licence checker - pre-commit git hook for checking code formatting - Closes #90 - add audit - add licenses list
enes added 5 commits 2024-08-06 14:24:25 +00:00
enes added 1 commit 2024-08-06 14:47:01 +00:00
enes added 2 commits 2024-08-06 15:17:51 +00:00
fix(ci): run lint-staged always, fix lint-stage commands
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 28s
ebd392421e
enes changed title from WIP: CI - Add git hooks and staging checks to CI - Add git hooks and staging checks 2024-08-06 15:18:16 +00:00
enes added 1 commit 2024-08-06 15:26:00 +00:00
chore(ci): add license
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 30s
c3d77d5fa4
enes added 1 commit 2024-08-06 15:39:31 +00:00
enes added 1 commit 2024-08-06 15:44:59 +00:00
ci: add synchronize to PR triggers
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 32s
8227efa405
enes added 1 commit 2024-08-06 15:49:50 +00:00
chore(lint): increase max warnings to 41
Some checks failed
Open PR on Staging / audit_and_check (pull_request) Failing after 33s
3278f28497
enes added 1 commit 2024-08-06 15:54:03 +00:00
ci(prettier): changes after running npm run formatter:fix
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
d915ea2dbc
enes requested review from m 2024-08-06 15:59:29 +00:00
Author
Member

Used the npm run formatter:fix and changed additional 20 src files in the last commit to pass the workflow.

Used the `npm run formatter:fix` and changed additional 20 `src` files in the last commit to pass the workflow.
m approved these changes 2024-08-07 11:32:45 +00:00
@ -201,2 +209,3 @@
setCurrentUserMarks(currentUserMarks);
const currentUserMarks = getCurrentUserMarks(metaMarks, signedMarks)
setCurrentUserMarks(currentUserMarks)
// setCurrentUserMark(findNextCurrentUserMark(currentUserMarks) || null)
Owner

We should remove the comment or explain why we keep it

We should remove the comment or explain why we keep it
Author
Member

Removed, it's no longer needed.

Removed, it's no longer needed.
enes added 1 commit 2024-08-07 12:52:03 +00:00
refactor: PR review changes and lint fixes
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
2f587e9372
enes force-pushed issue-38-90-pipeline-check from 2f587e9372 to 1297acc7db 2024-08-07 13:49:00 +00:00 Compare
Author
Member

Rebased.

Rebased.
enes merged commit c1a6ac246b into staging 2024-08-07 13:54:35 +00:00
enes deleted branch issue-38-90-pipeline-check 2024-08-07 13:54:36 +00:00
Sign in to join this conversation.
No reviewers
m
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#128
No description provided.