-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathplugin.yaml
More file actions
66 lines (65 loc) · 1.94 KB
/
plugin.yaml
File metadata and controls
66 lines (65 loc) · 1.94 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 0.1
downloads:
- name: node
downloads:
# macos arm64 was introduced after this version.
- os: macos
url: https://nodejs.org/dist/v${version}/node-v${version}-darwin-x64.tar.gz
version: <16.0.0
strip_components: 1
- os:
linux: linux
macos: darwin
cpu:
x86_64: x64
arm_64: arm64
url: https://nodejs.org/dist/v${version}/node-v${version}-${os}-${cpu}.tar.gz
strip_components: 1
- os: windows
cpu: x86_64
url: https://nodejs.org/dist/v${version}/node-v${version}-win-x64.zip
strip_components: 1
runtimes:
definitions:
- type: node
download: node
runtime_environment:
- name: HOME
value: ${env.HOME:-}
- name: PATH
list:
- "${runtime}/bin"
- "${runtime}" # Windows places binaries here instead of bin/
- "${env.PATH}"
- name: http_proxy
value: ${env.http_proxy}
optional: true
- name: https_proxy
value: ${env.https_proxy}
optional: true
- name: NODE_EXTRA_CA_CERTS
value: ${env.NODE_EXTRA_CA_CERTS}
optional: true
- name: NODE_OPTIONS
value: ${env.NODE_OPTIONS}
optional: true
- name: NPM_CONFIG_USERCONFIG
value: ${env.NPM_CONFIG_USERCONFIG}
optional: true
# Necessary for some Windows install scripts
- name: COMSPEC
value: ${env.COMSPEC}
optional: true
linter_environment:
- name: PATH
list: ["${linter}/node_modules/.bin"]
- name: NODE_PATH
value: ${linter}/node_modules
- name: NODE_OPTIONS
value: ${env.NODE_OPTIONS}
optional: true
known_good_version: 18.20.5
version_commands:
- run: node --version
parse_regex: ${semver}
shims: [node, npm, npx, corepack]