Skip to content

Commit

Permalink
Merge branch 'eason/bugfixing' into eason/chain-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason Smith committed Aug 15, 2024
2 parents 425ce2f + 357c0b1 commit da7d32a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 91 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/run-tests-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,21 @@ jobs:
with:
node-version: 20

- name: Enable Corepack
run: corepack enable

- name: Set up Yarn
uses: threeal/setup-yarn-action@v2.0.0

- name: Get last git commit hash
run: |
echo "DIFF_HASH=$(git log -1 --pretty=format:%H)" >> $GITHUB_ENV
- name: Cache NextJS
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
#key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ env.DIFF_HASH }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
Expand Down
87 changes: 0 additions & 87 deletions .github/workflows/run-tests-debug.yaml

This file was deleted.

0 comments on commit da7d32a

Please sign in to comment.