axone-protocol / docs

๐Ÿ“œ Axone documentation portal (built with Docusaurus).
https://docs.axone.xyz/
BSD 3-Clause "New" or "Revised" License
40 stars 22 forks source link

ci(workflow): add lint-web job #347

Closed ccamel closed 11 months ago

ccamel commented 11 months ago

Self explanatory (similar to okp4/dataverse-portal).

Summary by CodeRabbit

coderabbitai[bot] commented 11 months ago

Walkthrough

The changes introduced across the workflows primarily focus on enhancing the caching mechanism by incorporating yarn cache configurations. A new job, "lint-web", has been added to the lint workflow, which includes setting up a Node environment, running Lighthouse for performance testing, and uploading the reports.

Changes

File Path Change Summary
.github/workflows/lint.yml Introduced a new job "lint-web" for performance testing and report generation. Added cache setting for Node version in "report-new-dependencies" job.
.github/workflows/publish.yml, .github/workflows/update-versioned-docs.yml Added a cache configuration for yarn in the setup-node action.

Poem

๐Ÿ‚ As the leaves fall this November day, ๐Ÿ

In the world of code, rabbits hop and play. ๐Ÿ‡๐Ÿ’ป

With yarn in paw, they weave a cache, ๐Ÿงถ

Making workflows run in a flash. โšก

On this day in history, magic was in the air, โœจ

As the first long distance TV broadcast did appear. ๐Ÿ“บ

So let's celebrate these changes, oh so fine, ๐ŸŽ‰

In the spirit of progress, just like '29. ๐Ÿ•ฐ๏ธ


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai help` to get help. - `@coderabbitai resolve` to resolve all the CodeRabbit review comments. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`