Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI - Node.js Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
Comment on lines +1 to +25
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix Prettier formatting before merge.

The pipeline detected Prettier formatting violations in this file. This must be resolved before the PR can be merged.

Run the following command to auto-fix the formatting:

prettier --write .github/workflows/ci-tests.yml

Commit the formatting changes and push to resolve the pipeline failure.

🧰 Tools
🪛 GitHub Actions: Check formatting

[warning] 1-1: Prettier formatting issues found in .github/workflows/ci-tests.yml. Run 'prettier --write' to fix code style issues.

🤖 Prompt for AI Agents
In .github/workflows/ci-tests.yml around lines 1 to 25 the file fails Prettier
formatting; run the formatter and commit the changes: run `prettier --write
.github/workflows/ci-tests.yml` (or `prettier --write .` at repo root), review
the updated file, stage and commit the formatted file with a clear message like
"chore: format workflow file with Prettier", then push the commit to update the
PR and clear the pipeline error.

Loading