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

This commit is contained in:
Maxim Lobanov authored and GitHub committed 2020-06-29 14:56:37 -04:00
1 parent 0e2f9cde8b
commit 1ae8f4b1fd
8 files changed
+327 -55

No files matched your search

+3
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: