Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(ci): Add cache version to the setup-node job (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Depyden authored Jul 12, 2023
1 parent a1d814c commit c56617d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion commands/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: setup-node
description: Set up Node.js and install deps/fetch cache
parameters:
cacheVersion:
type: string
default: "v1"
runs:
using: "composite"
steps:
Expand All @@ -8,7 +12,7 @@ runs:
- uses: actions/cache@v3
with:
path: 'node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-<< parameters.cacheVersion >>
- run: yarn --frozen-lockfile
shell: bash

0 comments on commit c56617d

Please sign in to comment.