Merge pull request #519 from toeverything/chore/fix-volta-version

chore: fix volta error
This commit is contained in:
DarkSky
2022-11-02 12:30:58 +08:00
committed by GitHub

View File

@@ -104,7 +104,7 @@ jobs:
run: | run: |
echo "::set-output name=name::$([[ -f ./yarn.lock ]] && echo "yarn" || ([[ -f ./pnpm-lock.yaml ]] && echo "pnpm") || echo "npm")" echo "::set-output name=name::$([[ -f ./yarn.lock ]] && echo "yarn" || ([[ -f ./pnpm-lock.yaml ]] && echo "pnpm") || echo "npm")"
# Set node/npm/yarn versions using volta, with optional overrides provided by the consumer # Set node/npm/yarn versions using volta, with optional overrides provided by the consumer
- uses: volta-cli/action@fdf4cf319494429a105efaa71d0e5ec67f338c6e - uses: volta-cli/action@v3
with: with:
node-version: "${{ inputs.node-version }}" node-version: "${{ inputs.node-version }}"
npm-version: "${{ inputs.npm-version }}" npm-version: "${{ inputs.npm-version }}"