Skip to content

feat(ci): add ci/cd pipeline#1

Merged
hoangsonww merged 5 commits intomasterfrom
feat/enhance-ci-cd
Jun 21, 2025
Merged

feat(ci): add ci/cd pipeline#1
hoangsonww merged 5 commits intomasterfrom
feat/enhance-ci-cd

Conversation

@hoangsonww
Copy link
Copy Markdown
Owner

No description provided.

@hoangsonww hoangsonww requested a review from Copilot June 21, 2025 05:21
@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
Copy Markdown

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 PR introduces a new GitHub Actions workflow to automate formatting, linting, and a final status report on pushes and PRs to master.

  • Adds a CI/CD pipeline with separate jobs for formatting & linting and final status.
  • Configures triggers on pushes and pull requests targeting master.
  • Uses Ubuntu runners with Node.js setup and npm ci, npm run format, and npm run lint.
Comments suppressed due to low confidence (2)

.github/workflows/ci.yml:16

  • Removing continue-on-error: true ensures the pipeline fails on formatting or lint errors, preventing broken code from merging.
        continue-on-error: true

.github/workflows/ci.yml:5

  • If the repository's default branch is main, this filter will prevent CI from running on main. Update the branch name or include main.
    branches: [master]

Comment thread .github/workflows/ci.yml
node-version: 18
continue-on-error: true

- name: Install dependencies
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.

Consider adding an actions/cache step for ~/.npm between checkout and install to speed up installs on subsequent runs.

Copilot uses AI. Check for mistakes.
@hoangsonww hoangsonww merged commit df666b0 into master Jun 21, 2025
1 check 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