Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions upload-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,27 @@ runs:
REPO_ROOT=$(cd "$REPO_ROOT" && pwd)
echo "path=$REPO_ROOT" >> $GITHUB_OUTPUT

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
run_install: false

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '24.x'
cache: pnpm
cache-dependency-path: ${{ steps.repo-root.outputs.path }}/pnpm-lock.yaml

- name: Get pnpm version
id: pnpm-version
shell: bash
Comment thread
juliangruber marked this conversation as resolved.
working-directory: ${{ steps.repo-root.outputs.path }}
run: |
VERSION=$(node -pe "require('./package.json').packageManager.split('@')[1]")
Comment thread
juliangruber marked this conversation as resolved.
echo "version=$VERSION" >> $GITHUB_OUTPUT

Comment thread
juliangruber marked this conversation as resolved.
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
version: ${{ steps.pnpm-version.outputs.version }}

- name: Install workspace dependencies
shell: bash
working-directory: ${{ steps.repo-root.outputs.path }}
Expand Down
Loading