* fetch all stars
* stop fetching when there are repos with zero stars
* remove not needed parameters from the query
* add docstring
* removed not needed mock
* style: update formatting
Co-authored-by: rickstaa <rick.staa@outlook.com>
* Fix card length during error
Fixes#1774
The size of the box should be 550px to allow 25px padding from both sides
I found the width of the text using `getComputedTextLength()` method
* fix: improve error card size
Co-authored-by: rickstaa <rick.staa@outlook.com>
* Update the Vercel deployement guide
Updated Readme.md - The guide on deploying your own Vercel instance
* docs: fix some small grammer errors
Co-authored-by: rickstaa <rick.staa@outlook.com>
* feat: added default options to readme
* Update readme.md
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* fix: added default values for stats card
* style: some small readme changes
Co-authored-by: Rick Staa <rick.staa@outlook.com>
This commit adds the `stale-theme-pr-closer` closer action. This action
is used to close theme pull requests with an `invalid` label that has
been stale for a given number of `STALE_DAYS`.
This commit makes sure that:
- The theme-preview action can test multiple themes.
- Fails if something goes wrong.
- Requests changes if the theme does not adhere to the guidelines.
- Approves the PR if the theme adheres to the guidelines.
* ci: add e2e vercel test action
This commit adds several end-to-end tests that can be used
to test whether the Vercel Preview deployment successfully
returns the cards.
* test: add additional e2e card tests
* test: improve e2e card tests
This commit makes sure that the tests also check whether a valid cards
are returned from the preview deployment.
* GRS-1955: Using ES6 import/export in src files
* GRS-1955: Using ES6 import/export in test files
* GRS-1955: Using ES6 import/export in themes index.js
* GRS-1955: Readding blank line at end of top-languages-card.js
* feat: fix test es6 import errors
This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.
* test: update test node version
This commit makes sure node 16 is used in the github actions.
* refactor: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com>