Skip to content

Commit

Permalink
serial without cache
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Aug 17, 2024
1 parent 406a09e commit 931d431
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview_bottle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
push:
branches-ignore:
- main
- chore/ci-test
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -65,7 +66,6 @@ jobs:
# Set the build_status as an output variable for the job
echo "::set-output name=build_status::$build_status"
- run: pnpx playwright install
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: pnpx playwright install-deps
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"test": "turbo run test",
"test:e2e": "turbo test:e2e",
"ci": "turbo run build test:e2e"
"ci": "turbo run build test test:e2e"
},
"devDependencies": {
"prettier": "^3.2.5",
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"globalEnv": ["IMPORTANT_GLOBAL_VARIABLE"],
"tasks": {
"build": {
"cache": false,
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"],
"env": ["NEXT_PUBLIC_SERVER_BASE_URL", "TEST_ACCESS_TOKEN", "TEST_REFRESH_TOKEN"]
},
"test:e2e": {
"cache": false,
"dependsOn": ["^build"],
"env": ["NEXT_PUBLIC_SERVER_BASE_URL", "TEST_ACCESS_TOKEN", "TEST_REFRESH_TOKEN"]
},
Expand All @@ -21,6 +23,7 @@
"persistent": true
},
"test": {
"cache": false,
"dependsOn": ["build"]
}
}
Expand Down

0 comments on commit 931d431

Please sign in to comment.