Skip to content

Commit 72a69d3

Browse files
authored
Merge branch 'main' into sa-add-caption-to-video-atom
2 parents 7d85844 + ac9cbb5 commit 72a69d3

File tree

609 files changed

+45378
-19781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

609 files changed

+45378
-19781
lines changed

.github/CODEOWNERS

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
# This file is matched from top down; subsequent matches override previous matches.
22
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
33

4-
# By default all files are owned by these teams:
5-
* @guardian/dotcom-platform
4+
# Files at the root of the project
5+
/* @guardian/dotcom-platform
66

7-
/dotcom-rendering/src/components/marketing/ @guardian/growth
8-
/dotcom-rendering/src/client/userFeatures/ @guardian/supporter-revenue-stream
7+
/.github/ @guardian/dotcom-platform
8+
/.husky/ @guardian/dotcom-platform
9+
/.vscode/ @guardian/dotcom-platform
10+
/apps-rendering/ @guardian/dotcom-platform
11+
12+
# Files at the root of `/dotcom-rendering`
13+
/dotcom-rendering/* @guardian/dotcom-platform
14+
15+
/dotcom-rendering/.storybook/ @guardian/dotcom-platform
16+
/dotcom-rendering/cdk/ @guardian/dotcom-platform
17+
/dotcom-rendering/configs/ @guardian/dotcom-platform
18+
/dotcom-rendering/scripts/ @guardian/dotcom-platform
19+
/dotcom-rendering/src/client/islands/ @guardian/dotcom-platform
20+
/dotcom-rendering/src/client/userFeatures/ @guardian/supporter-revenue-stream
21+
/dotcom-rendering/src/components/AdBlock* @guardian/commercial-dev
22+
/dotcom-rendering/src/components/AdSlot* @guardian/commercial-dev
23+
/dotcom-rendering/src/components/AdP* @guardian/commercial-dev
24+
/dotcom-rendering/src/components/marketing/ @guardian/growth
25+
/dotcom-rendering/src/server/ @guardian/dotcom-platform
26+
/dotcom-rendering/webpack/ @guardian/dotcom-platform
27+
/scripts/ @guardian/dotcom-platform

.github/workflows/ar-chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Chromatic - Apps Rendering
4040
env:
4141
NODE_OPTIONS: '--max_old_space_size=4096'
42-
uses: chromaui/action@v11.3.0
42+
uses: chromaui/action@v11.27.0
4343

4444
with:
4545
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__APPS_RENDERING }}

.github/workflows/bundle-analyser.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ jobs:
2626
path: dotcom-rendering/dist/stats/client.web-bundles.html
2727
if-no-files-found: error
2828

29-
- name: Archive code coverage results for web legacy bundle
30-
uses: actions/upload-artifact@v4
31-
with:
32-
name: bundle-analyser-report-web-legacy
33-
path: dotcom-rendering/dist/stats/client.web.legacy-bundles.html
34-
if-no-files-found: error
35-
3629
- name: Archive code coverage results for web variant bundle
3730
uses: actions/upload-artifact@v4
3831
with:

.github/workflows/dcr-chromatic.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,8 @@ jobs:
1111
name: Chromatic
1212
runs-on: ubuntu-latest
1313
# Run Chromatic only if `run_chromatic` label has been applied or we're
14-
# pushing to `main`. Skip if this is a Dependabot PR as this is handled
15-
# by the subsequent job.
16-
if: |
17-
(contains(github.event.pull_request.labels.*.name, 'run_chromatic') || github.ref == 'refs/heads/main') &&
18-
(!contains(github.event.pull_request.labels.*.name, 'dependencies') &&
19-
github.event.pull_request.user.login != 'dependabot')
14+
# pushing to `main`.
15+
if: contains(github.event.pull_request.labels.*.name, 'run_chromatic') || github.ref == 'refs/heads/main'
2016
steps:
2117
- name: Checkout - On Pull Request
2218
uses: actions/checkout@v4
@@ -39,7 +35,7 @@ jobs:
3935
- name: Chromatic - DCR
4036
env:
4137
NODE_OPTIONS: '--max_old_space_size=4096'
42-
uses: chromaui/action@v11.3.0
38+
uses: chromaui/action@v11.27.0
4339
with:
4440
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__DOTCOM_RENDERING }}
4541
token: ${{ secrets.GITHUB_TOKEN }}

.husky/post-merge

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
RED='\033[0;31m'
52
ENDCOLOR='\033[0m'
63

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#!/bin/sh
2-
31
# don't run this on CI
42
# https://typicode.github.io/husky/#/?id=with-env-variables
53
[ -n "$CI" ] && exit 0
64

7-
. "$(dirname "$0")/_/husky.sh"
8-
95
pnpm lint-staged

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
currentBranch="$(git rev-parse --abbrev-ref HEAD)"
52

63
if [[ $currentBranch == "main" ]]

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.15.1
1+
22.14.0

0 commit comments

Comments
 (0)