forked from bahmutov/npm-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
23 lines (23 loc) · 881 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions
name: 'NPM or Yarn install with caching'
description: 'Install npm dependencies with caching'
author: 'Gleb Bahmutov'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
color: 'yellow'
icon: 'command'
inputs:
working-directory:
description: 'Working directory to specify subfolder in which dependencies are defined'
required: false
useLockFile:
description: 'Option to enable or disable use of a lock file (package-lock.json/yarn.lock)'
required: false
useRollingCache:
description: Option to enable restoring a cache that doesn't exactly match the lockfile, and expire once a month to keep it from only growing larger
required: false
install-command:
description: 'Custom install command to use'
required: false