mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
add packageManager pnpm@8.15.1
This commit is contained in:
parent
c8c57076ab
commit
22e2ca0610
17
.github/actions/pnpm-install/action.yml
vendored
17
.github/actions/pnpm-install/action.yml
vendored
@ -18,22 +18,21 @@
|
||||
# - 1.1.0 - 15-07-2023 - Add project custom directory support. #
|
||||
########################################################################################
|
||||
|
||||
|
||||
name: 'PNPM install'
|
||||
description: 'Run pnpm install with cache enabled'
|
||||
name: "PNPM install"
|
||||
description: "Run pnpm install with cache enabled"
|
||||
|
||||
inputs:
|
||||
enable-corepack:
|
||||
description: 'Enable corepack'
|
||||
description: "Enable corepack"
|
||||
required: false
|
||||
default: 'false'
|
||||
default: "false"
|
||||
cwd:
|
||||
description: "Changes node's process.cwd() if the project is not located on the root. Default to process.cwd()"
|
||||
required: false
|
||||
default: '.'
|
||||
default: "."
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
using: "composite"
|
||||
|
||||
steps:
|
||||
- name: ⚙️ Enable Corepack
|
||||
@ -42,7 +41,7 @@ runs:
|
||||
working-directory: ${{ inputs.cwd }}
|
||||
run: |
|
||||
corepack enable
|
||||
echo "corepack enabled"
|
||||
echo "corepack enabled"
|
||||
|
||||
- uses: pnpm/action-setup@v2.2.4
|
||||
if: ${{ inputs.enable-corepack == 'false' }}
|
||||
@ -84,4 +83,4 @@ runs:
|
||||
run: pnpm install --frozen-lockfile --prefer-offline
|
||||
env:
|
||||
# Other environment variables
|
||||
HUSKY: '0' # By default do not run HUSKY install
|
||||
HUSKY: "0" # By default do not run HUSKY install
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
|
||||
"license": "MIT",
|
||||
"homepage": "https://quartz.jzhao.xyz",
|
||||
"packageManager": "pnpm@8.15.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jackyzha0/quartz.git"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user