You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ See [action.yml](action.yml)
18
18
19
19
<!-- start usage -->
20
20
```yaml
21
-
- uses: actions/setup-node@v3
21
+
- uses: actions/setup-node@v4
22
22
with:
23
23
# Version Spec of the version to use in SemVer notation.
24
24
# It also emits such aliases as lts, latest, nightly and canary builds
@@ -84,7 +84,7 @@ See [action.yml](action.yml)
84
84
```yaml
85
85
steps:
86
86
- uses: actions/checkout@v4
87
-
- uses: actions/setup-node@v3
87
+
- uses: actions/setup-node@v4
88
88
with:
89
89
node-version: 18
90
90
- run: npm ci
@@ -133,7 +133,7 @@ See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` in
133
133
```yaml
134
134
steps:
135
135
- uses: actions/checkout@v4
136
-
- uses: actions/setup-node@v3
136
+
- uses: actions/setup-node@v4
137
137
with:
138
138
node-version: 16
139
139
cache: 'npm'
@@ -146,7 +146,7 @@ steps:
146
146
```yaml
147
147
steps:
148
148
- uses: actions/checkout@v4
149
-
- uses: actions/setup-node@v3
149
+
- uses: actions/setup-node@v4
150
150
with:
151
151
node-version: 16
152
152
cache: 'npm'
@@ -168,7 +168,7 @@ jobs:
168
168
steps:
169
169
- uses: actions/checkout@v4
170
170
- name: Setup node
171
-
uses: actions/setup-node@v3
171
+
uses: actions/setup-node@v4
172
172
with:
173
173
node-version: ${{ matrix.node }}
174
174
- run: npm ci
@@ -182,7 +182,7 @@ jobs:
182
182
To get a higher rate limit, you can [generate a personal access token on github.com](https://github.com/settings/tokens/new) and pass it as the `token` input for the action:
Copy file name to clipboardExpand all lines: docs/advanced-usage.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ If `check-latest` is set to `true`, the action first checks if the cached versio
46
46
```yaml
47
47
steps:
48
48
- uses: actions/checkout@v4
49
-
- uses: actions/setup-node@v3
49
+
- uses: actions/setup-node@v4
50
50
with:
51
51
node-version: '16'
52
52
check-latest: true
@@ -64,7 +64,7 @@ See [supported version syntax](https://github.com/actions/setup-node#supported-v
64
64
```yaml
65
65
steps:
66
66
- uses: actions/checkout@v4
67
-
- uses: actions/setup-node@v3
67
+
- uses: actions/setup-node@v4
68
68
with:
69
69
node-version-file: '.nvmrc'
70
70
- run: npm ci
@@ -96,7 +96,7 @@ jobs:
96
96
name: Node sample
97
97
steps:
98
98
- uses: actions/checkout@v4
99
-
- uses: actions/setup-node@v3
99
+
- uses: actions/setup-node@v4
100
100
with:
101
101
node-version: '14'
102
102
architecture: 'x64' # optional, x64 or x86. If not specified, x64 will be used by default
@@ -117,7 +117,7 @@ jobs:
117
117
name: Node sample
118
118
steps:
119
119
- uses: actions/checkout@v4
120
-
- uses: actions/setup-node@v3
120
+
- uses: actions/setup-node@v4
121
121
with:
122
122
node-version: '20.0.0-v8-canary' # it will install the latest v8 canary release for node 20.0.0
123
123
- run: npm ci
@@ -132,7 +132,7 @@ jobs:
132
132
name: Node sample
133
133
steps:
134
134
- uses: actions/checkout@v4
135
-
- uses: actions/setup-node@v3
135
+
- uses: actions/setup-node@v4
136
136
with:
137
137
node-version: '20-v8-canary' # it will install the latest v8 canary release for node 20
0 commit comments