-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (39 loc) · 1.16 KB
/
action.yml
File metadata and controls
42 lines (39 loc) · 1.16 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
name: 'Setup Vite+'
description: 'Install Vite+ (vite-plus-global) and optionally cache project dependencies'
author: 'voidzero-dev'
branding:
icon: zap
color: purple
inputs:
version:
description: 'Version of vite-plus-global to install'
required: false
default: 'latest'
registry:
description: 'Registry to install from: "npm" (default) or "github"'
required: false
default: 'npm'
github-token:
description: 'GitHub PAT for GitHub Package Registry. Required when registry is "github".'
required: false
run-install:
description: 'Run `vite install` after setup. Accepts boolean or YAML object with cwd/args.'
required: false
default: 'true'
cache:
description: 'Enable caching of project dependencies'
required: false
default: 'false'
cache-dependency-path:
description: 'Path to lock file for cache key generation. Auto-detected if not specified.'
required: false
outputs:
version:
description: 'The installed version of vite-plus-global'
cache-hit:
description: 'Boolean indicating if cache was restored'
runs:
using: node20
main: dist/index.mjs
post: dist/index.mjs
post-if: success()