Skip to content

Commit

Permalink
chore: better way to run tests without turborepo caches
Browse files Browse the repository at this point in the history
  • Loading branch information
Leksat committed Dec 4, 2024
1 parent e265ef4 commit 4696377
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 53 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Test
on:
push:
workflow_dispatch:
inputs:
turborepo_caching:
description: 'Turborepo caching'
type: choice
options:
- 'On'
- 'Off'
default: 'On'

jobs:
test:
Expand All @@ -25,6 +34,7 @@ jobs:
run: pnpm test:format

- name: TurboRepo local server
if: ${{ github.event.inputs.turborepo_caching != 'Off' }}
uses: felixmosh/turborepo-gh-artifacts@v2
with:
server-token: 'local'
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/test_without_turbo_cache.yml

This file was deleted.

0 comments on commit 4696377

Please sign in to comment.