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
Set `package.json` to `1.20.0`. Update the README examples and the
GitLab and Azure template defaults to `v1.20.0`.
This release adds `package-manager` for GitHub and GitLab, and
`packageManager` for Azure. These inputs control package managers
separately from Node.js. The `node-manager: false` setting preserves
package-manager management on Vite+ `0.3.1` and later.
Copy file name to clipboardExpand all lines: README.md
+41-41Lines changed: 41 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ GitHub Action, GitLab CI/CD remote template, and Azure Pipelines step template t
18
18
Reference this action with an exact release tag, or a commit SHA:
19
19
20
20
```yaml
21
-
- uses: voidzero-dev/setup-vp@v1.19.0
21
+
- uses: voidzero-dev/setup-vp@v1.20.0
22
22
```
23
23
24
24
Releases are listed on the [tags page](https://github.com/voidzero-dev/setup-vp/tags). [Renovate](https://docs.renovatebot.com/) and Dependabot can keep a pinned tag up to date.
@@ -33,15 +33,15 @@ Releases are listed on the [tags page](https://github.com/voidzero-dev/setup-vp/
33
33
```yaml
34
34
steps:
35
35
- uses: actions/checkout@v7
36
-
- uses: voidzero-dev/setup-vp@v1.19.0
36
+
- uses: voidzero-dev/setup-vp@v1.20.0
37
37
```
38
38
39
39
### With Node.js Version
40
40
41
41
```yaml
42
42
steps:
43
43
- uses: actions/checkout@v7
44
-
- uses: voidzero-dev/setup-vp@v1.19.0
44
+
- uses: voidzero-dev/setup-vp@v1.20.0
45
45
with:
46
46
node-version: "lts"
47
47
```
@@ -51,7 +51,7 @@ steps:
51
51
```yaml
52
52
steps:
53
53
- uses: actions/checkout@v7
54
-
- uses: voidzero-dev/setup-vp@v1.19.0
54
+
- uses: voidzero-dev/setup-vp@v1.20.0
55
55
with:
56
56
node-version-file: ".node-version"
57
57
```
@@ -68,7 +68,7 @@ steps:
68
68
- uses: actions/setup-node@v5
69
69
with:
70
70
node-version: 24
71
-
- uses: voidzero-dev/setup-vp@v1.19.0
71
+
- uses: voidzero-dev/setup-vp@v1.20.0
72
72
with:
73
73
node-manager: false
74
74
```
@@ -78,7 +78,7 @@ steps:
78
78
```yaml
79
79
steps:
80
80
- uses: actions/checkout@v7
81
-
- uses: voidzero-dev/setup-vp@v1.19.0
81
+
- uses: voidzero-dev/setup-vp@v1.20.0
82
82
with:
83
83
working-directory: web
84
84
node-version-file: ".nvmrc"
@@ -91,7 +91,7 @@ steps:
91
91
```yaml
92
92
steps:
93
93
- uses: actions/checkout@v7
94
-
- uses: voidzero-dev/setup-vp@v1.19.0
94
+
- uses: voidzero-dev/setup-vp@v1.20.0
95
95
with:
96
96
node-version: "lts"
97
97
cache: true
@@ -103,7 +103,7 @@ steps:
103
103
```yaml
104
104
steps:
105
105
- uses: actions/checkout@v7
106
-
- uses: voidzero-dev/setup-vp@v1.19.0
106
+
- uses: voidzero-dev/setup-vp@v1.20.0
107
107
with:
108
108
version: "1.2.3"
109
109
node-version: "lts"
@@ -119,7 +119,7 @@ If your project uses an older Vite+ version, upgrade Vite+ to v0.3.1 or later.
119
119
```yaml
120
120
steps:
121
121
- uses: actions/checkout@v7
122
-
- uses: voidzero-dev/setup-vp@v1.19.0
122
+
- uses: voidzero-dev/setup-vp@v1.20.0
123
123
- run: pnpm --version
124
124
```
125
125
@@ -140,7 +140,7 @@ to `latest` only when nothing pins a resolvable version. So a project that pins
140
140
```yaml
141
141
steps:
142
142
- uses: actions/checkout@v7
143
-
- uses: voidzero-dev/setup-vp@v1.19.0
143
+
- uses: voidzero-dev/setup-vp@v1.20.0
144
144
with:
145
145
cache: true
146
146
```
@@ -153,7 +153,7 @@ worth watching for, since it means the pinned version was not applied:
153
153
```yaml
154
154
steps:
155
155
- uses: actions/checkout@v7
156
-
- uses: voidzero-dev/setup-vp@v1.19.0
156
+
- uses: voidzero-dev/setup-vp@v1.20.0
157
157
with:
158
158
version-file: package.json
159
159
cache: true
@@ -213,7 +213,7 @@ action warns and falls back to `latest`. (Auto-detection instead resolves a
213
213
```yaml
214
214
steps:
215
215
- uses: actions/checkout@v7
216
-
- uses: voidzero-dev/setup-vp@v1.19.0
216
+
- uses: voidzero-dev/setup-vp@v1.20.0
217
217
with:
218
218
node-version: "lts"
219
219
cache: true
@@ -238,7 +238,7 @@ minimal:
238
238
239
239
steps:
240
240
- uses: actions/checkout@v7
241
-
- uses: voidzero-dev/setup-vp@v1.19.0
241
+
- uses: voidzero-dev/setup-vp@v1.20.0
242
242
with:
243
243
node-version: "lts"
244
244
env:
@@ -255,7 +255,7 @@ read the repo `.npmrc` per its own config resolution):
255
255
```yaml
256
256
steps:
257
257
- uses: actions/checkout@v7
258
-
- uses: voidzero-dev/setup-vp@v1.19.0
258
+
- uses: voidzero-dev/setup-vp@v1.20.0
259
259
with:
260
260
node-version: "lts"
261
261
registry-url: "https://npm.pkg.github.com"
@@ -273,7 +273,7 @@ Set `sfw: true` to wrap `vp install` with [Socket Firewall Free](https://docs.so
@@ -369,7 +369,7 @@ Omitting both `node-version` and `node-version-file` leaves the session without
369
369
`package-manager` controls Vite+'s package-manager management independently of `node-manager`. When omitted, it leaves the installer default unchanged (enabled on CI) and runs no environment-mode commands. Set it to `false` to run `vp env off pm` and prefer system package managers, or provide a mapping:
370
370
371
371
```yaml
372
-
- uses: voidzero-dev/setup-vp@v1.19.0
372
+
- uses: voidzero-dev/setup-vp@v1.20.0
373
373
with:
374
374
node-manager: false
375
375
package-manager: |
@@ -421,7 +421,7 @@ Set `cache-save: false` to restore an existing dependency cache without writing
421
421
For example, this workflow restores caches on every run but saves them only from the `main` branch:
| `package-manager` | String input: `"true"`, `"false"`, or a YAML mapping of npm, pnpm, yarn, and bun to booleans (Vite+ 0.3.1+) | Unset (enabled on CI) |
566
566
| `registry-url` | Optional registry URL to write to a temporary `.npmrc` | |
567
567
| `scope` | Optional scope for authenticating against scoped registries | |
568
-
| `setup-ref` | setup-vp ref used to download the GitLab bootstrap and compiled runtime. Always set it to the same tag as the remote URL; the default is the latest release when the template was published | `v1.19.0` |
568
+
| `setup-ref` | setup-vp ref used to download the GitLab bootstrap and compiled runtime. Always set it to the same tag as the remote URL; the default is the latest release when the template was published | `v1.20.0` |
569
569
570
570
### GitLab Notes
571
571
572
-
- Use an exact release tag such as `v1.19.0` in the remote URL. Do not use `main` (mutable) or `v1` (frozen at v1.15.0, no longer updated).
572
+
- Use an exact release tag such as `v1.20.0` in the remote URL. Do not use `main` (mutable) or `v1` (frozen at v1.15.0, no longer updated).
573
573
- Always pin `setup-ref` to the same tag or commit SHA as the remote URL, so the compiled runtime matches the included template.
574
574
- Quote GitLab string inputs such as `run-install: "false"`; unquoted booleans are rejected by GitLab before the setup runtime can parse them.
575
575
- GitLab 17.9+ users can add `integrity` to pin the remote file hash.
@@ -595,7 +595,7 @@ resources:
595
595
type: github
596
596
endpoint: github
597
597
name: voidzero-dev/setup-vp
598
-
ref: refs/tags/v1.19.0
598
+
ref: refs/tags/v1.20.0
599
599
600
600
pool:
601
601
vmImage: ubuntu-latest
@@ -605,7 +605,7 @@ steps:
605
605
606
606
- template: azure/setup-vp.yml@setupVp
607
607
parameters:
608
-
setupRef: v1.19.0
608
+
setupRef: v1.20.0
609
609
nodeVersion: 24.x
610
610
cache: true
611
611
runInstall: true
@@ -625,7 +625,7 @@ Pin `ref` and `setupRef` to the same exact tag or commit SHA. Do not use the `v1
| `registryUrl` | | Optional registry URL for a temporary `.npmrc`. |
627
627
| `scope` | | Optional npm registry scope. |
628
-
| `setupRef` | `v1.19.0` | Ref used to download bootstrap scripts and `dist/azure/index.mjs`. Always set it to the same tag as `ref`; the default is the latest release when the template was published. |
628
+
| `setupRef` | `v1.20.0` | Ref used to download bootstrap scripts and `dist/azure/index.mjs`. Always set it to the same tag as `ref`; the default is the latest release when the template was published. |
629
629
| `nodeVersion` | `24.x` | Passed to `UseNode@1`; an empty string skips Node setup. |
630
630
| `nodeManager` | | Control Vite+'s Node.js manager: `false`keeps the agent's Node.js (e.g. from `UseNode@1`); `true` leaves the installer default unchanged; empty lets the installer decide. |
631
631
| `packageManager` | Unset (enabled on CI) | Boolean or object mapping npm, pnpm, yarn, and bun to booleans (Vite+ 0.3.1+). Only false entries change modes. |
@@ -665,7 +665,7 @@ jobs:
665
665
steps:
666
666
- uses: actions/checkout@v7
667
667
668
-
- uses: voidzero-dev/setup-vp@v1.19.0
668
+
- uses: voidzero-dev/setup-vp@v1.20.0
669
669
with:
670
670
node-version: "lts"
671
671
cache: true
@@ -715,7 +715,7 @@ For new commits, review the changes and remove and re-add `run-e2e`. Results and
715
715
716
716
### Releasing
717
717
718
-
Releases are published as git tags; there is no npm package, but the `package.json` version tracks the latest release. Consumers pin an exact version tag such as `voidzero-dev/setup-vp@v1.19.0` or a commit SHA. The `v1` major tag is frozen at v1.15.0 and is never moved (an org-level ruleset rejects tag force-pushes).
718
+
Releases are published as git tags; there is no npm package, but the `package.json` version tracks the latest release. Consumers pin an exact version tag such as `voidzero-dev/setup-vp@v1.20.0` or a commit SHA. The `v1` major tag is frozen at v1.15.0 and is never moved (an org-level ruleset rejects tag force-pushes).
719
719
720
720
To cut a release:
721
721
@@ -734,8 +734,8 @@ To cut a release:
734
734
4. Create the new annotated version tag and push it. For example:
Copy file name to clipboardExpand all lines: gitlab/setup-vp.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ spec:
27
27
default: ""
28
28
setup-ref:
29
29
description: "setup-vp ref used to download the GitLab bootstrap and compiled runtime. Pin this to the same tag or commit as the remote template; the default is the latest release when this template was published."
0 commit comments