From 6f71017a401c7f61fd434805aad0f87e80b5a929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 30 Sep 2024 17:41:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20package.json=20=E4=B8=AD=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20pnpm=20=E4=BD=9C=E4=B8=BA=E5=8C=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=EF=BC=8C=E5=B9=B6=E6=9B=B4=E6=96=B0=20action?= =?UTF-8?q?.yml=20=E4=B8=AD=E7=9A=84=E6=AD=A5=E9=AA=A4=E4=BB=A5=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20Node=20=E5=92=8C=20PNPM=20=E7=9A=84=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +++ setup-node-pnpm-install/action.yml | 31 ++++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..41c7490 --- /dev/null +++ b/package.json @@ -0,0 +1,3 @@ +{ + "packageManager": "pnpm@9.11.0" +} \ No newline at end of file diff --git a/setup-node-pnpm-install/action.yml b/setup-node-pnpm-install/action.yml index 06e7a39..e849051 100644 --- a/setup-node-pnpm-install/action.yml +++ b/setup-node-pnpm-install/action.yml @@ -11,29 +11,32 @@ # - name : 📦 Setup Node + PNPM + install deps # uses: ./.github/actions/setup-node-pnpm-install -name: 'Setup Node + PNPM + Install Dependencies' -description: 'Setup Node + PNPM + Install Dependencies' +name: "Setup Node + PNPM + Install Dependencies" +description: "Setup Node + PNPM + Install Dependencies" runs: - using: 'composite' + using: "composite" steps: - uses: actions/checkout@main + with: + # fetch-depth: 0 # zero stands for full checkout, which is required for semantic-release + filter: blob:none # we don't need all blobs, only the full tree + show-progress: false - uses: pnpm/action-setup@v4 with: - version: latest + # version: latest run_install: false - uses: actions/setup-node@v4 with: node-version: lts/* # cache: 'pnpm' - - name: Check Node and PNPM versions - shell: bash - run: | - set -x - node --version - pnpm --version - pwd - ls -al - working-directory: ${{ github.workspace }} + # - name: Check Node and PNPM versions + # shell: bash + # run: | + # set -x + # node --version + # pnpm --version + # pwd + # ls -al # - name: 📦 Install Project Dependencies # run: pnpm install --frozen-lockfile - # shell: bash \ No newline at end of file + # shell: bash