Commit graph

38 commits

Author SHA1 Message Date
nocci
5814f5a5d5 ci(workflow): add comment to build workflow 2026-03-07 13:15:04 +00:00
nocci
ddb37b5c82 ci(workflow): simplify Node.js installation and optimize Docker steps
Replace multi-step Node.js and npm install with single Alpine package install,
and simplify Docker builder setup by switching from GitHub Action to direct
CLI installation via apk. Also enable network debugging tools for better
troubleshooting in the CI environment.
2026-03-07 12:45:30 +00:00
nocci
09d854ffb1 Fix Forgejo workflow: use GITEA_* variables instead of github.* 2026-03-06 15:43:55 +00:00
nocci
96df8cb3d4 refactor: migrate ESLint configuration to flat config and remove redundant rule files
- replace legacy .eslintrc files with flat eslint.config.js
- consolidate eslint globals for improved code clarity
- enable prefer-const and no-unused-vars off in *.js for flexibility
- remove unused import statements and redundant eslint directives from epic-games.js and aliexpress.js
- standardize function parameter syntax to arrow with parentheses omitted where safe
- add comments marking unused but retained functions for reference
2026-03-06 15:38:58 +00:00
nocci
c5a12aede3 💄 style(ci): adjust indentation in build workflow
- fix indentation for sonar job to align with yaml format standards
2026-01-08 15:56:42 +00:00
nocci
d1d6ba58b7 👷 ci(build): enhance sonar job in build workflow
- add container support with node:20-alpine for sonar job
- consolidate git and utility installation steps
- include sonarqube-scanner installation for improved analysis
2026-01-08 15:55:20 +00:00
nocci
370e3db206 🔧 chore(workflows): add screenshot to ESLint globals
Some checks failed
build-and-push / lint (push) Successful in 8s
build-and-push / sonar (push) Failing after 0s
build-and-push / docker (push) Has been skipped
- add screenshot as a readonly global variable to ESLint configuration

♻️ refactor(epic-games): improve path resolution for screenshots

- replace resolve with path.resolve for better path management
2026-01-08 15:43:30 +00:00
nocci
2dc018f2d6 test(epic-claimer-new): add comprehensive tests for epic games claimer
Some checks failed
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- implement extensive testing for new epic games claiming functionality
- ensure robust coverage of API interactions, OAuth flows, and game claiming logic

 feat(epic-claimer-new): introduce new epic games claiming logic

- add new logic for claiming free games via API with OAuth device flow
- implement automatic cookie reuse and manual login fallback
- enhance error handling and logging for improved debugging

♻️ refactor(epic-claimer-new): optimize code structure and modularity

- refactor functions for better code organization and readability
- modularize authentication and game claiming processes for reusability

🔧 chore(eslintrc): update eslint configuration

- add stylistic plugins and rules for better code consistency
- configure globals and parser options for modern JavaScript compatibility
2026-01-08 14:59:01 +00:00
nocci
dc54be10e8 feat(epic-claimer): add new imports and constants
Some checks failed
build-and-push / lint (push) Failing after 10s
build-and-push / docker (push) Has been skipped
build-and-push / sonar (push) Has been skipped
- import axios, playwright-firefox, otplib, and node modules for enhanced functionality
- add utility imports from local modules for better code organization
- define URL_CLAIM, COOKIES_PATH, and BEARER_TOKEN_NAME constants for clearer code structure
2026-01-08 13:23:01 +00:00
nocci
712f1caa0e 📦 build(workflows): add eslint configuration for workflows
Some checks failed
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- introduce .eslintrc.json file for ESLint settings
- configure environment, parser options, and rules for linting

 test(workflows): update build workflow with eslint integration

- integrate ESLint configuration into GitHub Actions workflow
- ensure lint job utilizes the new .eslintrc.json settings
2026-01-08 13:18:45 +00:00
nocci
db77892ea9 🔧 chore(ci): update remote URL configuration in build workflow
Some checks failed
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- add REPO_URL environment variable for consistent repository URL usage
- update git remote add commands to use the new REPO_URL variable for clarity
2026-01-08 13:14:19 +00:00
nocci
f7822786df test
Some checks failed
build-and-push / lint (push) Failing after 17s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
2026-01-08 13:11:59 +00:00
nocci
c8624e7ceb 🔧 chore(workflows): replace actions/checkout with manual git checkout
Some checks failed
build-and-push / lint (push) Failing after 18s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- implement manual git checkout steps in build workflow
- remove actions/checkout usage to customize git operations
2026-01-08 13:08:54 +00:00
nocci
b9280ef8bf 💄 style(workflow): remove excessive blank lines in build.yml
Some checks failed
build-and-push / lint (push) Failing after 52s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
- clean up excessive blank lines for improved readability and maintenance
2026-01-08 13:01:30 +00:00
nocci
3746f9be49 📦 build(ci): enhance build workflow with container and cleanup
- add node:20-alpine container for consistent linting environment
- remove duplicate docker setup and login steps
- streamline job steps for better readability and maintenance
2026-01-08 13:00:05 +00:00
nocci
7b5e819528 🔧 chore(ci): update build workflow configuration
- remove container setup from lint job
- switch to manual Node.js installation
- add detailed sonar-scanner setup and execution steps
- introduce docker job with buildx setup and registry login
2026-01-08 12:58:17 +00:00
nocci
c067ad71fe update 2026-01-08 12:56:49 +00:00
nocci
6216d8eac3 ci: avoid sonar branch analysis on community edition
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m10s
2025-12-31 10:24:15 +00:00
nocci
4c255a8258 ci: report sonar branch name
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 3s
build-and-push / docker (push) Has been skipped
2025-12-31 10:22:42 +00:00
nocci
c486f45bc0 ci: build dev branch and tag images
All checks were successful
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m9s
2025-12-31 10:19:30 +00:00
nocci
b9aa6e0073 Use sonar.token instead of deprecated sonar.login
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 11s
build-and-push / docker (push) Successful in 1m14s
2025-12-30 16:19:53 +00:00
nocci
f82c158a6b ci: run sonar-scanner locally instead of docker
All checks were successful
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 16s
build-and-push / docker (push) Successful in 1m10s
2025-12-30 14:27:12 +00:00
nocci
b5e9111039 ci: mount workspace explicitly for sonar scanner
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / docker (push) Successful in 1m12s
build-and-push / sonar (push) Successful in 7s
2025-12-30 14:23:43 +00:00
nocci
94be980c95 ci: debug sonar scanner mount and remove extra inclusions
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 10s
build-and-push / docker (push) Successful in 1m10s
2025-12-30 14:22:07 +00:00
nocci
00b36a65b1 ci: quote sonar inclusions to avoid shell glob
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 7s
build-and-push / docker (push) Successful in 1m8s
2025-12-30 13:25:17 +00:00
nocci
2a4653062a ci: make sonar scan pick up sources
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 6s
build-and-push / docker (push) Successful in 1m10s
2025-12-30 13:22:54 +00:00
nocci
405660e0f2 🐛 fix(ci): adjust sonar scm configuration
All checks were successful
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 6s
build-and-push / docker (push) Successful in 1m11s
- change sonar.scm.provider to sonar.scm.disabled for compatibility
2025-12-30 13:06:49 +00:00
nocci
02972a04d4 🐛 fix(ci): handle missing sonar project key gracefully
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 6s
build-and-push / docker (push) Has been skipped
- set default empty value for PROJECT_KEY variable
- add fallback to read sonar-project.properties if secret is not provided
- exit with error if PROJECT_KEY is still unset after checks
2025-12-30 13:05:40 +00:00
nocci
608b6b87cd 👷 ci(build): simplify sonar project key retrieval
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 6s
build-and-push / docker (push) Has been skipped
- remove redundant conditional logic for project key extraction
- enforce mandatory SONAR_PROJECT_KEY secret for consistency
- change sonar.scm.provider to 'none' for improved configuration
2025-12-30 13:02:52 +00:00
nocci
e11d40bdda 👷 ci(build): enforce sonar host url secret presence
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 6s
build-and-push / docker (push) Has been skipped
- update HOST_URL to require SONAR_HOST_URL secret for enhanced security configuration
- improve error handling by ensuring critical secrets are set
2025-12-30 13:01:14 +00:00
nocci
8626fa5a0f ♻️ refactor(build): enhance sonar scanner configuration
- set default host url for sonar scanner to ensure consistency
- add sonar.sources and sonar.scm.provider for improved analysis
2025-12-30 12:57:44 +00:00
nocci
56ca1f63d4 👷 ci(build): enhance sonar project key configuration
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 6s
build-and-push / docker (push) Has been skipped
- add SONAR_PROJECT_KEY environment variable for flexibility
- fallback to default or file-based project key if not set
2025-12-30 12:42:36 +00:00
nocci
5b1d966c6e 👷 ci(build): enhance sonar scanner configuration
Some checks failed
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Failing after 7s
build-and-push / docker (push) Has been skipped
- extract project key from properties file for dynamic setup
- add projectBaseDir to sonar scanner command for accurate analysis
2025-12-30 12:40:06 +00:00
nocci
d40a577f47 👷 ci(build): add SonarQube scan to build workflow
Some checks failed
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Failing after 12s
build-and-push / docker (push) Has been skipped
- introduce SonarQube scanning step for code quality analysis
- update workflow dependencies and execution order

🐛 fix(auth): improve error handling and code formatting

- remove unused imports and fix code indentation
- enhance error handling with improved catch blocks

💄 style(general): standardize code formatting and style consistency

- update various files to ensure consistent code style
- adjust indentation and whitespace for readability
2025-12-30 12:38:03 +00:00
nocci
0e5303da62 👷 ci(workflow): add lint job to build workflow
Some checks failed
build-and-push / lint (push) Failing after 32s
build-and-push / docker (push) Has been skipped
- introduce lint job in build.yml for code quality checks
- ensure lint job runs before docker job
- setup Node.js and install dependencies for ESLint
2025-12-30 11:03:08 +00:00
nocci
0a729d0cbf 🔧 chore(workflow): simplify docker image tagging and pushing
All checks were successful
build-and-push / docker (push) Successful in 1m10s
- remove specific sha tag from build and push steps
- streamline workflow by focusing on latest tag
2025-12-29 15:08:00 +00:00
nocci
eb5b9bbb6e 👷 ci(build): enhance docker build process with buildx
All checks were successful
build-and-push / docker (push) Successful in 1m12s
- add Docker Buildx setup for advanced build capabilities
- update build step to use buildx for multi-platform support
2025-12-29 15:01:55 +00:00
nocci
a21dced86e 📦 build(ci): add build-and-push workflow for docker images
Some checks failed
build-and-push / docker (push) Failing after 4s
- create a new CI workflow to automate image building and pushing
- trigger workflow on push to main branch
- include steps for checkout, login, build, and push docker images
2025-12-29 14:31:25 +00:00