[PR #1872] [MERGED] ci(workflow): add cache to workflows using actions/setup-node #3537

Closed
opened 2026-03-17 01:08:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/1872
Author: @oscard0m
Created: 10/12/2021
Status: Merged
Merged: 10/16/2021
Merged by: @liyasthomas

Base: mainHead: add-cache-to-node-workflows


📝 Commits (6)

  • adf4c64 ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
  • 9938e04 fix(workflow/tests): use 'pnpm' cache instead
  • f13ce02 refactor(workflow/tests): remove redundant 'actions/cache' step
  • 667a3d6 Merge branch 'main' into add-cache-to-node-workflows
  • 662198b fix(workflows): test.yml installs pnpm before trying to use its cache
  • 086cd67 ci(workflow): use node before installing pnpm

📊 Changes

1 file changed (+6 additions, -10 deletions)

View changed files

📝 .github/workflows/tests.yml (+6 -10)

📄 Description

Description

Add cache to workflows using actions/setup-node

Context

setup-node GitHub Action just released a new option to add cache to steps using it.

You can find the details here: https://github.blog/changelog/2021-07-02-github-actions-setup-node-now-supports-dependency-caching/


🤖 This PR has been generated automatically by this octoherd script, feel free to run it in your GitHub user/org repositories! 💪🏾


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/1872 **Author:** [@oscard0m](https://github.com/oscard0m) **Created:** 10/12/2021 **Status:** ✅ Merged **Merged:** 10/16/2021 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `main` ← **Head:** `add-cache-to-node-workflows` --- ### 📝 Commits (6) - [`adf4c64`](https://github.com/hoppscotch/hoppscotch/commit/adf4c644a42dfbef6b1158c62e636eb2518e1a2a) ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows - [`9938e04`](https://github.com/hoppscotch/hoppscotch/commit/9938e046332e8dada4f067f889f2645c9a21f924) fix(workflow/tests): use 'pnpm' cache instead - [`f13ce02`](https://github.com/hoppscotch/hoppscotch/commit/f13ce025aec36f194c6cfdaa8b0632fc379fa5b4) refactor(workflow/tests): remove redundant 'actions/cache' step - [`667a3d6`](https://github.com/hoppscotch/hoppscotch/commit/667a3d697c797dd96c5ce7c6f806e0a373740079) Merge branch 'main' into add-cache-to-node-workflows - [`662198b`](https://github.com/hoppscotch/hoppscotch/commit/662198bfd93c70a2dab88e3bffc86f5c939f92e8) fix(workflows): test.yml installs pnpm before trying to use its cache - [`086cd67`](https://github.com/hoppscotch/hoppscotch/commit/086cd67b9d68f01f0fe4368d525286d587031ee0) ci(workflow): use node before installing pnpm ### 📊 Changes **1 file changed** (+6 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/tests.yml` (+6 -10) </details> ### 📄 Description ## Description Add `cache` to workflows using `actions/setup-node` ## Context `setup-node` GitHub Action just released a new option to add cache to steps using it. You can find the details here: https://github.blog/changelog/2021-07-02-github-actions-setup-node-now-supports-dependency-caching/ --- 🤖 This PR has been generated automatically by [this octoherd script](https://github.com/oscard0m/octoherd-script-add-cache-to-node-github-action), feel free to run it in your GitHub user/org repositories! 💪🏾 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:08:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3537
No description provided.