ci: use artifact sharing to avoid redundant install and build

This commit is contained in:
mkorwel
2026-04-21 20:43:43 +00:00
parent 3f2ebcaa07
commit 0c94268dd9
2 changed files with 94 additions and 24 deletions
+5
View File
@@ -16,6 +16,10 @@ inputs:
dist-artifact:
description: 'The name of the dist artifact to download if mode is "dist"'
required: false
skip-npm-ci:
description: 'Whether to skip npm ci step'
required: false
default: 'false'
runs:
using: 'composite'
@@ -27,6 +31,7 @@ runs:
cache: 'npm'
- name: 'Install dependencies'
if: "${{ inputs.skip-npm-ci != 'true' }}"
run: 'npm ci'
shell: 'bash'