Skip to content

Conversation

@ManAnRuck
Copy link
Member

This pull request includes changes to the GitHub workflows for end-to-end tests and code quality checks. The most important changes are the removal of the pull request trigger from the E2E tests workflow and the addition of a new workflow for code linting and TypeScript checks.

Changes to GitHub workflows:

  • .github/workflows/e2e-tests.yaml: Removed the pull_request trigger to ensure E2E tests only run on pushes to the main branch.
  • .github/workflows/lint.yaml: Added a new workflow for code quality checks, including steps for checking out the repository, setting up Node.js, caching Yarn dependencies, installing dependencies, running ESLint, and running TypeScript checks.

@ManAnRuck ManAnRuck added this to the Legislaturperiode 21 milestone Mar 16, 2025
@ManAnRuck ManAnRuck requested a review from Copilot March 16, 2025 17:09
@ManAnRuck ManAnRuck self-assigned this Mar 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces changes to the GitHub workflows to improve CI reliability and integrate code quality checks. The key changes include:

  • Removal of the pull request trigger in the E2E tests workflow to run tests only on pushes.
  • Addition of a new linting workflow that sets up Node.js, caches Yarn dependencies, and runs both ESLint and TypeScript checks.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/lint.yaml New workflow for running linting and TypeScript checks
.github/workflows/e2e-tests.yaml Removed the pull_request trigger to limit test execution
Comments suppressed due to low confidence (2)

.github/workflows/lint.yaml:1

  • [nitpick] Using multiple emojis in the workflow name may reduce readability in CI logs; consider simplifying the name to 'Code Quality Checks' for clarity.
name: ✨ Code Quality Checks ✅

.github/workflows/lint.yaml:24

  • [nitpick] Ensure that using Node.js version '22' is intentional and aligns with project requirements, since it may be ahead of the typical LTS release cycle.
node-version: "22"

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces a new GitHub workflow for linting and TypeScript checks to improve overall code quality, while also limiting the E2E tests workflow to run only on pushes to the main branch.

  • Added .github/workflows/lint.yaml for code quality checks via ESLint and TypeScript.
  • Removed the pull_request trigger from .github/workflows/e2e-tests.yaml to restrict E2E tests to push events.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/lint.yaml New workflow for linting and TypeScript checks.
.github/workflows/e2e-tests.yaml Removal of pull_request trigger to limit test runs on push events.

@ManAnRuck ManAnRuck merged commit 5e857c7 into main Mar 16, 2025
9 checks passed
@github-project-automation github-project-automation bot moved this to 🚀 Shipped in Democracy Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

2 participants