Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

github actions is not caching the entire node_modules #75

@Lykhoyda

Description

@Lykhoyda

The message from github action https://github.com/ChainSafe/aleo-snap/actions/runs/7543266284/job/20534039858?pr=74

43 packages were already cached, 1068 had to be fetched

Yarn cache from setup-node is not working properly with yarn 3+. As the solution we can use package actions/cache@v3 to force the caching of the folder. Here is an example:
https://github.com/ChainSafe/dappeteer/blob/eb95e0cd51d95261e67e423ddd0404351d1da1dc/.github/workflows/main.yml#L27-L38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions