chore(ci): upload turbo summaries (#65715)

This commit is contained in:
Oliver Eyton-Williams
2026-02-05 21:49:13 +01:00
committed by GitHub
parent d83de6b5b4
commit ff162dce2e
2 changed files with 27 additions and 3 deletions

View File

@@ -81,6 +81,12 @@ jobs:
echo pnpm version $(pnpm -v)
pnpm lint
- name: Upload Turbo Summary
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: lint-turbo-summary
path: .turbo/runs
# DONT REMOVE THIS JOB.
# TODO: Refactor and use re-usable workflow and shared artifacts
build:
@@ -123,6 +129,12 @@ jobs:
pnpm install
pnpm run build
- name: Upload Turbo Summary
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: build-turbo-summary
path: .turbo/runs
test:
name: Test
needs: build
@@ -175,6 +187,12 @@ jobs:
- name: Run Tests
run: pnpm test
- name: Upload Turbo Summary
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: test-turbo-summary
path: .turbo/runs
test-upcoming:
name: Test - Upcoming Changes
needs: build
@@ -228,6 +246,12 @@ jobs:
- name: Run Tests
run: pnpm test
- name: Upload Turbo Summary
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: test-upcoming-turbo-summary
path: .turbo/runs
test-localization:
name: Test - i18n
needs: build

View File

@@ -21,7 +21,7 @@
"scripts": {
"audit-challenges": "cd curriculum && pnpm audit-challenges",
"analyze-bundle": "webpack-bundle-analyzer",
"build": "turbo build",
"build": "turbo build --summarize",
"build:client": "turbo -F=@freecodecamp/client build",
"build:curriculum": "turbo -F=@freecodecamp/curriculum build",
"build:api": "turbo -F=@freecodecamp/api build",
@@ -47,7 +47,7 @@
"knip": "npx -y knip@5 --include files",
"knip:all": "npx -y knip@5 ",
"lint-root": "pnpm npm-run-all lint:*",
"lint": "turbo type-check && turbo lint && turbo lint-root",
"lint": "turbo type-check --summarize && turbo lint --summarize && turbo lint-root --summarize",
"lint:prettier": "prettier --list-different .",
"lint:css": "stylelint '**/*.css'",
"preseed": "turbo setup",
@@ -63,7 +63,7 @@
"serve:client": "cd ./client && pnpm run serve",
"serve:client-ci": "cd ./client && pnpm run serve-ci",
"start": "turbo setup && npm-run-all -p develop:server serve:client",
"test": "turbo test",
"test": "turbo test --summarize",
"test-client": "turbo -F=@freecodecamp/client test",
"test-api": "turbo -F=@freecodecamp/api test",
"test-curriculum-content": "turbo -F=@freecodecamp/curriculum test-content",