diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 61db474b9..cb4c8d530 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" + cache: "yarn" - run: yarn - run: yarn build - run: yarn test diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 6f35808c9..890d9e0ff 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -14,6 +14,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20.x" + cache: "yarn" # Install dependencies - run: yarn install # Generate schemas diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 570b2193e..66be5b8aa 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -39,6 +39,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" + cache: "yarn" registry-url: "https://registry.npmjs.org" - name: Install dependencies and build