Skip to content

Commit

Permalink
remove volta from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Sep 6, 2023
1 parent 17cf74c commit 9ba0a0e
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,14 @@ inputs:
runs:
using: 'composite'
steps:
- uses: volta-cli/action@v4
env:
ACTIONS_STEP_DEBUG: truex
- name: Get pnpm cache directory path
id: pnpm-cache-dir-path
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache@v3
id: pnpm-cache
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- uses: actions/setup-node@v3
with:
path: ${{ steps.pnpm-cache-dir-path.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}-v1
restore-keys: |
${{ runner.os }}-pnpm-
node-version: 16
cache: pnpm
- run: pnpm install ${{ fromJSON('{"false":"--no-lockfile", "true":"--frozen-lockfile"}')[inputs.use_lockfile] }}
shell: bash

0 comments on commit 9ba0a0e

Please sign in to comment.