| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,20 +37,26 @@ jobs: | |||
| 37 | 37 | node-version: "12" | |
| 38 | 38 | ||
| 39 | 39 | - name: Get yarn cache directory path | |
| 40 | - if: steps.git_diff_content.outputs.diff | ||
| 41 | 40 | id: yarn-cache-dir-path | |
| 42 | 41 | run: echo "::set-output name=dir::$(yarn cache dir)" | |
| 43 | 42 | - uses: actions/cache@v2.1.3 | |
| 44 | - if: steps.git_diff_content.outputs.diff | ||
| 45 | 43 | id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
| 46 | 44 | with: | |
| 47 | 45 | path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| 48 | - # TODO: Is this correct?! We wanna make sure it's the yarn.lock | ||
| 49 | - # from ./yari/ and not ./ which is just the content. | ||
| 50 | 46 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| 51 | 47 | restore-keys: | | |
| 52 | 48 | ${{ runner.os }}-yarn- | |
| 53 | 49 | ||
| 50 | + - name: DEBUG yarn packages | ||
| 51 | + run: | | ||
| 52 | + echo "steps.yarn-cache-dir-path.outputs.dir" | ||
| 53 | + echo ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
| 54 | + echo | ||
| 55 | + | ||
| 56 | + find . -type d -name node_modules | ||
| 57 | + echo "" | ||
| 58 | + yarn cache dir | ||
| 59 | + | ||
| 54 | 60 | - name: Install all yarn packages | |
| 55 | 61 | if: steps.git_diff_content.outputs.diff | |
| 56 | 62 | run: | | |
| Back | FazBrowse Home | New Git URL |
0 commit comments