Skip to content

Commit

Permalink
ci: don't run test prepare script as part of test script, because it …
Browse files Browse the repository at this point in the history
…fails on ci
  • Loading branch information
jtiala committed Nov 27, 2023
1 parent f85fc46 commit c98ec14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm exec playwright install --with-deps
- run: pnpm run build
- run: pnpm run lint:report
- run: pnpm run test:report
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"test": "pnpm run test:storybook:standalone",
"test:report": "pnpm run test:storybook:standalone:report",
"test:storybook:prepare": "pnpm exec playwright install --with-deps",
"test:storybook": "pnpm run test:storybook:prepare && test-storybook",
"test:storybook:watch": "pnpm run test:storybook:prepare && test-storybook --watch",
"test:storybook:report": "pnpm run test:storybook:prepare && JEST_JUNIT_OUTPUT_FILE=./reports/test-report-storybook.xml test-storybook --junit",
"test:storybook": "test-storybook",
"test:storybook:watch": "test-storybook --watch",
"test:storybook:report": "JEST_JUNIT_OUTPUT_FILE=./reports/test-report-storybook.xml test-storybook --junit",
"test:storybook:standalone": "concurrently -k -s first -n SB,TEST -c magenta,blue \"pnpm run build --quiet && pnpm exec serve -Lp 6006 storybook-static\" \"wait-on tcp:6006 && pnpm run test:storybook\"",
"test:storybook:standalone:report": "concurrently -k -s first -n SB,TEST -c magenta,blue \"pnpm run build --quiet && pnpm exec serve -Lp 6006 storybook-static\" \"wait-on tcp:6006 && pnpm run test:storybook:report\"",
"lint": "pnpm run lint:tsc && pnpm run lint:eslint",
Expand Down
8 changes: 4 additions & 4 deletions apps/nextjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"test": "pnpm run test:playwright",
"test:report": "pnpm run test:playwright:report",
"test:playwright:prepare": "pnpm exec playwright install --with-deps",
"test:playwright": "pnpm run test:playwright:prepare && PLAYWRIGHT_HTML_REPORT=./reports/test-report-playwright playwright test --reporter=html",
"test:playwright:ui": "pnpm run test:playwright:prepare && playwright test --ui",
"test:playwright:show": "pnpm run test:playwright:prepare && playwright show-report ./reports/test-report-playwright",
"test:playwright:report": "pnpm run test:playwright:prepare && PLAYWRIGHT_JUNIT_OUTPUT_NAME=./reports/test-report-playwright.xml playwright test --reporter junit",
"test:playwright": "PLAYWRIGHT_HTML_REPORT=./reports/test-report-playwright playwright test --reporter=html",
"test:playwright:ui": "playwright test --ui",
"test:playwright:show": "playwright show-report ./reports/test-report-playwright",
"test:playwright:report": "PLAYWRIGHT_JUNIT_OUTPUT_NAME=./reports/test-report-playwright.xml playwright test --reporter junit",
"lint": "pnpm run lint:tsc && pnpm run lint:eslint && pnpm run lint:stylelint",
"lint:report": "pnpm run lint:tsc:report && pnpm run lint:eslint:report && pnpm run lint:stylelint:report",
"lint:fix": "pnpm run lint:eslint:fix && pnpm run lint:stylelint:fix",
Expand Down

0 comments on commit c98ec14

Please sign in to comment.