Skip to content

Commit

Permalink
fix: use builtin python action cache for pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Oct 9, 2024
1 parent 3bcc269 commit 36560d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'

- name: Cache node_modules
id: cache-node_modules
Expand All @@ -49,12 +50,6 @@ jobs:
key: elm-cache-${{ hashFiles('elm.json') }}
restore-keys: elm-cache-

- name: Cache pipenv virtualenv
uses: actions/cache@v4
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}

- name: Install Node dependencies
run: npm ci --prefer-offline --no-audit

Expand Down

0 comments on commit 36560d8

Please sign in to comment.