Skip to content

Conversation

@hoangsonww
Copy link
Owner

No description provided.

@hoangsonww hoangsonww requested a review from Copilot June 21, 2025 05:26
@hoangsonww hoangsonww self-assigned this Jun 21, 2025
@hoangsonww hoangsonww added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Jun 21, 2025
Copy link

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

Adds a GitHub Actions workflow to enforce code formatting and linting on pushes and pull requests, with a final status notification.

  • Introduces a CI/CD pipeline file .github/workflows/ci.yml
  • Defines a “Formatting & Lint” job and a completion status job
  • Triggers on pushes and PRs to the master branch
Comments suppressed due to low confidence (2)

.github/workflows/ci.yml:5

  • Ensure the branch triggers match your repository's default branch (e.g., 'main' instead of 'master') to activate the workflow correctly.
    branches: [master]

.github/workflows/ci.yml:16

  • Consider removing continue-on-error: true from these steps so that formatting or lint failures correctly fail the CI pipeline.
        continue-on-error: true

with:
node-version: 18
continue-on-error: true

Copy link

Copilot AI Jun 21, 2025

Choose a reason for hiding this comment

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

You can add an actions/cache step before installing dependencies to cache npm artifacts (e.g., .npm or node_modules) and speed up subsequent runs.

Suggested change
- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

Copilot uses AI. Check for mistakes.
@hoangsonww hoangsonww merged commit ef34c49 into master Jun 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants