From 9e99989defad492f0622d1c02c02ebdafc2bd195 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Wed, 30 Aug 2023 12:44:57 -0400 Subject: [PATCH] Run install after cache setup, per https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2fd0a60..a4d57ad 100644 --- a/action.yml +++ b/action.yml @@ -110,7 +110,7 @@ runs: uses: pnpm/action-setup@v2 with: version: ${{ steps.resolved-pnpm.outputs.version }} - run_install: "{ args: ['${{ inputs.args }}'] }" + run_install: false - name: 'Setup node and the cache for pnpm' # this action aliases the major to the latest full version # https://github.com/actions/setup-node/tags @@ -119,3 +119,6 @@ runs: cache: 'pnpm' node-version: ${{ inputs.node-version }} registry-url: ${{ inputs.node-registry-url }} + - name: 'Install dependencies' + shell: 'bash' + run: pnpm install ${{ inputs.args }}