generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 23
/
action.yml
38 lines (38 loc) · 1.78 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: '@volta-cli/action'
description: 'Setup a Node.js environment with Volta'
author: 'Robert Jackson <[email protected]>'
inputs:
volta-version:
description: 'Version of `volta` to fetch and setup. Examples: 0.6.0, 10.15.1, >=10.15.0'
default: ''
node-version:
description: 'Version Spec of the node version to use. Examples: 10.6.x, 10.15.1, >=10.15.0'
default: ''
npm-version:
description: 'Version Spec of the npm version to use. Examples: 7.5.x, 7.5.3, >=7.5.3'
default: ''
yarn-version:
description: 'Version Spec of the yarn version to use. Examples: 1.6.x, 10.15.1, >=10.15.0'
default: ''
package-json-path:
description: 'The path to the package.json to update when using an explicit `node-version` | `yarn-version` | `npm-version` override. By default, we will use `package.json` in the checkout root.'
default: ''
variant:
description: 'Specific variant to install. Example: providing the variant "linux-openssl-rhel", which will target installing the volta-${version}-linux-openssl-rhel.tar.gz tarball'
default: ''
registry-url:
description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc file, and set up auth to read in from env.NODE_AUTH_TOKEN'
scope:
description: 'Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).'
token:
description: Used to avoid low rate limiting for cached tool downloads. Since there's a default, this is typically not supplied by the user.
default: ${{ github.token }}
always-auth:
description: 'Set always-auth in npmrc'
default: 'false'
branding:
icon: 'zap'
color: 'yellow'
runs:
using: 'node20'
main: 'dist/index.js'