Skip to content

Commit

Permalink
chore: fix tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed May 25, 2024
1 parent 788fc99 commit 8c1f578
Show file tree
Hide file tree
Showing 5 changed files with 3,270 additions and 1,503 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,22 @@ jobs:
- 0.126
- 0.125
case: [default]
runs-on: ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4

- name: Setup caches
uses: actions/cache@v4
with:
path: /home/runner/.cache/hugo_cache
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
- name: Setup Go
uses: actions/setup-go@v5

Expand All @@ -31,6 +39,5 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v6
with:
working-directory: ${{ matrix.case }}
install: true
working-directory: tests/${{ matrix.case }}
start: hugo server
Loading

0 comments on commit 8c1f578

Please sign in to comment.