Compare commits

..

3 commits

Author SHA1 Message Date
3770752ab4
Merge pull request 'chore(frontend): update project name and improve linting command' (!152) from add-oxlint-and-rename into main
All checks were successful
Release / Release (push) Successful in 1m1s
Release / Build Backend Image (push) Successful in 25s
Release / Build Frontend Image (push) Successful in 43s
Reviewed-on: #152
Reviewed-by: Constantin Simonis <constantin@simonis.lol>
2025-04-25 07:16:18 +00:00
7b94fd56bc
feat(ci): add oxlint job to CI workflow
All checks were successful
CI / Get Changed Files (pull_request) Successful in 6s
CI / oxlint (pull_request) Successful in 30s
CI / prettier (pull_request) Successful in 34s
CI / eslint (pull_request) Successful in 38s
CI / test-build (pull_request) Successful in 37s
CI / Checkstyle Main (pull_request) Successful in 1m29s
- Introduced oxlint job to the CI workflow for enhanced linting checks.
- Updated ci.yml to include a new job `oxlint` that runs on frontend changes.
- Adjusted package.json scripts to separate oxlint from the general lint task.
2025-04-25 09:14:04 +02:00
f3adf78b50
chore(frontend): update project name and improve linting command
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / Checkstyle Main (pull_request) Has been skipped
CI / prettier (pull_request) Successful in 48s
CI / eslint (pull_request) Successful in 1m5s
CI / test-build (pull_request) Successful in 1m6s
2025-04-25 08:28:06 +02:00
2 changed files with 32 additions and 2 deletions

View file

@ -103,6 +103,35 @@ jobs:
cd frontend
bun run lint
oxlint:
runs-on: ubuntu-latest
name: oxlint
needs: changed_files
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- uses: actions/cache@v4
working-directory: ./frontend
with:
path: |
frontend/node_modules/
key: ${{ runner.os }}-bun-
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: |
cd frontend
bun install
- name: Run oxlint
run: |
cd frontend
bun run oxlint
prettier:
runs-on: ubuntu-latest
name: prettier

View file

@ -1,5 +1,5 @@
{
"name": "lf10-starter2024",
"name": "trustworthy-casino",
"version": "0.0.0",
"scripts": {
"ng": "bunx @angular/cli",
@ -9,7 +9,8 @@
"test": "bunx @angular/cli test",
"format": "prettier --write \"src/**/*.{ts,html,css,scss}\"",
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\"",
"lint": "bunx @angular/cli lint"
"lint": "bunx @angular/cli lint",
"oxlint": "bunx oxlint --deny-warnings"
},
"private": true,
"dependencies": {