Implement "check-latest" flag to check if pre-cached version is latest one (#165)

This commit is contained in:
Maxim Lobanov
2020-06-29 21:56:37 +03:00
committed by GitHub
parent 0e2f9cde8b
commit 1ae8f4b1fd
8 changed files with 327 additions and 55 deletions

View File

@ -7,6 +7,9 @@ inputs:
default: 'false'
node-version:
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0'
check-latest:
description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec'
default: false
registry-url:
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN'
scope: