Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Oct 16, 2024
1 parent 4f3bde2 commit 99d5faa
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,21 @@ inputs:
runs:
using: composite
steps:
# - name: Cache dependencies
# id: yarn-cache
# uses: actions/cache@v4
# with:
# path: |
# **/node_modules
# .yarn/install-state.gz
# key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
# restore-keys: |
# ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
# ${{ runner.os }}-yarn-

- name: DEBUG PRINT PWD
run: echo $PWD
shell: bash
- name: Cache dependencies
id: yarn-cache
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn/install-state.gz
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
# A composite action is always run from the root of the project, no matter the default working directory
# We need to explicitly cd into the package dir, so that it will use yarn 3:
run: cd ./package && yarn install --immutable
shell: bash

0 comments on commit 99d5faa

Please sign in to comment.