Skip to content

Commit

Permalink
Merge pull request #74 from Renato66/ci/using-cache-at-bun
Browse files Browse the repository at this point in the history
ci: using cache at bun
  • Loading branch information
Renato66 authored Apr 6, 2024
2 parents e6cc310 + 5c0c656 commit 703c202
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# directory: ./coverage
# directory: ./coverage
8 changes: 7 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/cache@v3
with:
path: ~/.bun
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-${{ github.ref }}
- run: bun install
- run: bun test
- run: bun test

0 comments on commit 703c202

Please sign in to comment.