chore: fix volta error

This commit is contained in:
alt0
2022-11-02 11:42:33 +08:00
parent d5ef2adf16
commit 75999d4e06
+2 -2
View File
@@ -104,7 +104,7 @@ jobs:
run: |
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
- uses: volta-cli/action@fdf4cf319494429a105efaa71d0e5ec67f338c6e
- uses: volta-cli/action@v3
with:
node-version: "${{ inputs.node-version }}"
npm-version: "${{ inputs.npm-version }}"
@@ -297,4 +297,4 @@ jobs:
- name: Stop all running agents for this CI run
# It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
if: ${{ always() }}
run: npx nx-cloud stop-all-agents
run: npx nx-cloud stop-all-agents