Skip to content

Commit

Permalink
Fix caching for CI/CD pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Andreia Ocănoaia <[email protected]>
  • Loading branch information
andreia-oca committed Jun 5, 2024
1 parent c6b7f52 commit 58bd3d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 20.14.0
- name: Cache npm binaries
id: cache-npm-binaries
id: cache-node-binaries
uses: actions/cache@v4
with:
path: /opt/hostedtoolcache/node/20.12.2/x64/
key: ${{ runner.os }}-npm-binaries
path: /opt/hostedtoolcache/node/
key: ${{ runner.os }}-node-binaries
restore-keys: |
${{ runner.os }}-npm-binaries
${{ runner.os }}-node-binaries
- uses: Genez-io/genezio-github-action@v1
if: steps.cache-npm-binaries.outputs.cache-hit != 'true'
if: steps.cache-node-binaries.outputs.cache-hit != 'true'
- name: Check genezio version - this step is optional
run: genezio --version
- name: Login with genezio - this step is required because we don't cache the genezio auth file
Expand Down

0 comments on commit 58bd3d3

Please sign in to comment.