mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05:00
* chore(deps): update dependency undici-types to v5.28.4 * Update action.yml * update ci --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Juan Picado <juanpicado19@gmail.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: 'Install app'
|
|
description: 'install application'
|
|
|
|
inputs:
|
|
registry-url:
|
|
description: 'Registry URL for pnpm'
|
|
required: false
|
|
default: 'http://localhost:4873'
|
|
reporter:
|
|
description: 'Reporter for pnpm'
|
|
required: false
|
|
default: 'silent'
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Use Node
|
|
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: Install pnpm
|
|
run: |
|
|
npm install --global corepack@latest
|
|
corepack enable
|
|
corepack prepare
|
|
shell: bash
|
|
- name: set store
|
|
run: |
|
|
mkdir ~/.pnpm-store
|
|
pnpm config set store-dir ~/.pnpm-store
|
|
shell: bash
|
|
- name: Restore cache pnpm store
|
|
uses: ./.github/actions/cache-store
|
|
- name: Install
|
|
run: pnpm install --reporter=${{inputs.reporter}} --ignore-scripts --registry ${{ inputs.registry-url }}
|
|
shell: bash
|
|
- name: Save cache pnpm store
|
|
if: steps.cache-npm.outputs.cache-hit == 'false'
|
|
uses: ./.github/actions/cache-store
|
|
|