Ralf Vogler
efe4faab3e
add sonarcloud badge for code smells
2023-11-07 18:24:32 +01:00
Ralf Vogler
e4e4f2eafa
fix eslint errors
2023-11-07 18:10:22 +01:00
Ralf Vogler
6a34cb541d
format sonar.yml
2023-11-07 18:03:54 +01:00
Ralf Vogler
5083ea408d
ncu -u: eslint 8.50.0 -> 8.53.0
2023-11-07 17:58:36 +01:00
Ralf Vogler
2eaf6f0598
.eslintignore -> .gitignore, no-unused-vars: ignore args starting with _
...
https://eslint.org/docs/latest/rules/no-unused-vars#argsignorepattern
https://eslint.org/docs/latest/rules/no-undef
2023-11-07 17:57:10 +01:00
Ralf Vogler
dec0b519a5
Merge pull request #228 from 4n4n4s/ci
...
Sonarqube support with ESLint
2023-11-07 17:36:20 +01:00
Ralf Vogler
6113ea4b8d
Merge branch 'main' into ci
2023-11-07 17:32:00 +01:00
Ralf Vogler
798b130c92
fix vscode problem in jsconfig with module vs. moduleResolution
...
Option 'module' must be set to 'NodeNext' when option 'moduleResolution' is set to 'NodeNext'.ts
Specify what module code is generated.
See more: https://www.typescriptlang.org/tsconfig#module
2023-11-07 16:45:17 +01:00
Ralf Vogler
e5935faa13
sonarcloud fixes
2023-11-07 15:20:58 +01:00
Ralf Vogler
b5ef699f4f
sort .dockerignore
2023-11-07 12:03:15 +01:00
Ralf Vogler
a6b9ec9609
sonarcloud fix reject(error)
...
https://sonarcloud.io/project/issues?cleanCodeAttributeCategories=CONSISTENT&resolved=false&id=vogler_free-games-claimer&open=AYupZi4O_aoWVkCdISRb&tab=code
2023-11-07 12:02:33 +01:00
Ralf Vogler
a62aa8c0c8
sonarcloud fix docker: Remove cache after installing packages
...
https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=vogler_free-games-claimer&open=AYupZi3__aoWVkCdISRI
https://sonarcloud.io/organizations/vogler/rules?open=docker%3AS6587&rule_key=docker%3AS6587&tab=how_to_fix
https://askubuntu.com/questions/3167/what-is-difference-between-the-options-autoclean-autoremove-and-clean
2023-11-07 11:53:29 +01:00
Ralf Vogler
e192365b48
can't have comment in yml list?
2023-11-07 11:39:08 +01:00
Ralf Vogler
92ce3d405d
run docker workflow if its defition changed
2023-11-07 11:36:17 +01:00
Ralf Vogler
584130f5d1
edits for #229 , build image for PRs from forks?
2023-11-07 11:31:14 +01:00
Ralf Vogler
5fda138d8d
Merge pull request #229 from 4n4n4s/docker
...
Allow forks to publish docker images
2023-11-07 11:16:24 +01:00
Ralf Vogler
11db31ea46
Merge branch 'xbox-gold'
...
https://github.com/vogler/free-games-claimer/pull/160
2023-11-06 19:40:18 +01:00
Ralf Vogler
0ab9935fb5
eg: catch timeout in case there are no free games available, #210
2023-11-06 19:22:43 +01:00
Ralf Vogler
28a1e42cc4
npm package*.json license MIT -> AGPL-3.0-only
2023-11-06 19:15:09 +01:00
Ralf Vogler
32cd0d8990
Create LICENSE - AGPL-3.0
...
https://choosealicense.com/licenses/agpl-3.0/
2023-11-06 19:12:16 +01:00
Ralf Vogler
b99a154267
Revert "workaround for recordVideo broken in Playwright 1.36"
...
This reverts commit 13b2917dd0 .
Fine to do after upgrade to 1.39 in 75f7d77445 .
which included https://github.com/microsoft/playwright/issues/27086
2023-11-02 16:26:45 +01:00
Ralf Vogler
75f7d77445
upgrade playwright-firefox 1.38.1 -> 1.39.0
2023-11-02 16:23:46 +01:00
Ralf Vogler
bf870919a6
upgrade to lowdb 6.1.1 and use JSONPreset
...
See example in https://github.com/typicode/lowdb/releases/tag/v6.1.0
2023-11-02 16:18:48 +01:00
Ralf Vogler
280ab70975
README.md: recommend to run without docker until #183 is fixed
2023-11-02 16:01:08 +01:00
4n4n4s
1dbe2f1457
Allow forks to create builds and fix failing build
2023-10-27 11:37:32 +00:00
Ralf Vogler
4137bb5569
DEBUG=1 as alternative to PWDEBUG=1 (also shows Playwright debugger)
2023-10-26 15:01:04 +02:00
Ralf Vogler
a374d48345
eg: fix login (email/password split), closes #236
2023-10-25 19:48:58 +02:00
Ralf Vogler
d73a523fe7
eg: fix sign in, user displayname, #236
2023-10-25 19:44:52 +02:00
Ralf Vogler
04787909c7
eg: waitFor order confirmation to be attached instead of visible, #233
2023-10-13 00:03:11 +02:00
Ralf Vogler
ad2301c3fd
pg: eg: fix detecting successful claim
2023-10-10 22:42:38 +02:00
Ralf Vogler
a8ab989a7f
pg: external: check for 'Link account' besides 'Link game account'
2023-10-10 22:12:59 +02:00
Ralf Vogler
9fc68b881f
pg: legacygames: don't wait for response, just text
2023-10-10 22:01:23 +02:00
4n4n4s
0040d9d96c
Sonarqube support with ESLint
2023-09-26 19:12:09 +00:00
Ralf Vogler
d318a57be1
ncu -u: playwright-firefox ^1.38.0 → ^1.38.1
2023-09-25 09:35:30 +02:00
Ralf Vogler
9ebd15f204
fix log text if $VNC_PASSWORD is set, fixes #223
2023-09-23 11:02:08 +02:00
Ralf Vogler
41f1f95509
PW: replace deprecated type() with pressSequentially() for OTPs
2023-09-18 14:02:15 +02:00
Ralf Vogler
840d35c2d2
ncu -u: playwright-firefox ^1.37.1 → ^1.38.0
2023-09-18 13:54:40 +02:00
Ralf Vogler
13b2917dd0
workaround for recordVideo broken in Playwright 1.36
...
Recording videos with relative path as in docs was broken for Firefox.
Issue: https://github.com/microsoft/playwright/issues/27086
Can be reverted after PR is available in release: https://github.com/microsoft/playwright/pull/27099
2023-09-18 13:03:04 +02:00
Ralf Vogler
b748460b73
disable Playwright's handleSIGINT and close context ourselves to save recordings also on SIGINT
2023-09-18 12:58:20 +02:00
Ralf Vogler
1fbabbc0f2
log path of recorded video
2023-09-18 12:49:23 +02:00
dependabot[bot]
2a4da3f49c
build(deps): bump docker/build-push-action from 4 to 5 ( #212 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:51:53 +02:00
dependabot[bot]
0ba693eeb6
build(deps): bump docker/login-action from 2 to 3 ( #214 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:51:23 +02:00
dependabot[bot]
6cdef56c09
build(deps): bump docker/setup-buildx-action from 2 to 3 ( #213 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:50:04 +02:00
dependabot[bot]
30db49d9b9
build(deps): bump docker/setup-qemu-action from 2 to 3 ( #215 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 09:49:00 +02:00
dependabot[bot]
44d712e333
build(deps): bump actions/checkout from 3 to 4 ( #207 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 09:41:42 +02:00
Ralf Vogler
d51f7310d9
gog: fix #200 , uncheck 'Marketing communications through Trusted Partners'
2023-09-07 13:56:37 +02:00
Ralf Vogler
e30216c9b8
eg: default resolution 1280x1280 -> 1920x1080, #183
2023-09-07 13:30:49 +02:00
Ralf Vogler
c79f4cc40f
docker: migrate to new nodesource repo; node 19 -> 20
...
old node setup script had a warning to migrate with 60s pause during docker build
https://github.com/nodesource/distributions/wiki/How-to-migrate-to-the-new-repository
2023-09-07 13:27:18 +02:00
Ralf Vogler
97882c76c3
eg: debug: window.screen
2023-09-07 13:25:14 +02:00
Ralf Vogler
b449ee4d7f
pg: redeem: legacygames success/error
2023-09-05 16:12:20 +02:00