Skip to content

Commit

Permalink
Merge pull request #31 from TDT4290-group-4/24-fix-pipeline
Browse files Browse the repository at this point in the history
24 fix pipeline
  • Loading branch information
gautegf authored Oct 8, 2025
2 parents f2e086b + 82b2ac7 commit 6cf61d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
Closes #

### Description

<!-- What does this PR do? Briefly describe the changes and their purpose. -->

### Testing steps

<!-- Describe how reviewers can test your changes (commands, steps, or setup instructions). -->

### Screenshots (optional)
### Screenshots (optional)
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
stages:
- lint
name: Prettier

prettier:
stage: lint
image: node:20
script:
- npm ci
- npx prettier --check .
on: [pull_request]
jobs:
prettier:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npx prettier --check .

0 comments on commit 6cf61d1

Please sign in to comment.