/npm-packages-install-action

Install npm packages using package-lock.json

MIT LicenseMIT

npm Packages Install Action

code style: prettier Release version badge license PRs

This action installs npm packages.

Table of Contents

About

This action installs npm packages.

Usage

You can use this action in your workflow by writing like this:

name: Install npm Packages

on:
  pull_request:

jobs:
  install:
    name: Install npm Packages
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install npm Packages
        uses: chvmvd/npm-packages-install-action@v1.0.0
        with:
          path: "."

Configuration

Inputs

Name Description Default
path The path to the directory where package-lock.json is located in .

Outputs

None.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Issues and pull requests are always welcome.