[PR #275] [MERGED] add action that installs NPM dependencies and caches them #303

Closed
opened 2025-11-06 17:18:28 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sdras/awesome-actions/pull/275
Author: @bahmutov
Created: 12/5/2019
Status: Merged
Merged: 12/7/2019
Merged by: @sdras

Base: masterHead: patch-1


📝 Commits (1)

  • 93ac1eb add action that installs NPM dependencies and caches them

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

It is an action for projects that need to run npm ci or yarn --frozen-lockfile to install NPM dependencies and cache them

name: main
on: [push]
jobs:
  build-and-test:
    runs-on: ubuntu-latest
    name: Build and test
    steps:
      - uses: actions/checkout@v1
      - uses: bahmutov/npm-install@v1
      - run: npm t

🔄 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/sdras/awesome-actions/pull/275 **Author:** [@bahmutov](https://github.com/bahmutov) **Created:** 12/5/2019 **Status:** ✅ Merged **Merged:** 12/7/2019 **Merged by:** [@sdras](https://github.com/sdras) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`93ac1eb`](https://github.com/sdras/awesome-actions/commit/93ac1eb660638888910cb2006d9ffc02d329c072) add action that installs NPM dependencies and caches them ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description It is an action for projects that need to run `npm ci` or `yarn --frozen-lockfile` to install NPM dependencies and cache them ```yml name: main on: [push] jobs: build-and-test: runs-on: ubuntu-latest name: Build and test steps: - uses: actions/checkout@v1 - uses: bahmutov/npm-install@v1 - run: npm t ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 17:18:28 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-actions#303