Skip to content

Commit 812c668

Browse files
Merge branch 'main' into learn/ts-article-sequence
Signed-off-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
2 parents 17cc0db + c3411eb commit 812c668

446 files changed

Lines changed: 12078 additions & 6185 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
os: [ubuntu-latest, windows-latest]
45+
os: [ubuntu-latest]
4646

4747
steps:
4848
- name: Harden Runner
49-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
49+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
5050
with:
5151
egress-policy: audit
5252

@@ -76,7 +76,7 @@ jobs:
7676
# regardless of having code changes or not
7777
fetch-depth: 1
7878

79-
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
79+
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
8080
with:
8181
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
8282
path: |
@@ -89,7 +89,7 @@ jobs:
8989
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
9090
9191
- name: Set up Node.js
92-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
92+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
9393
with:
9494
# We want to ensure that the Node.js version running here respects our supported versions
9595
node-version-file: '.nvmrc'

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Harden Runner
44-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
44+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
4545
with:
4646
egress-policy: audit
4747

@@ -50,7 +50,7 @@ jobs:
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
53+
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -60,7 +60,7 @@ jobs:
6060
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6161
# If this step fails, then you should remove it and run the build manually (see below)
6262
- name: Autobuild
63-
uses: github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
63+
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
6464

6565
# ℹ️ Command-line programs to run using the OS shell.
6666
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,6 +73,6 @@ jobs:
7373
# ./location_of_script_within_repo/buildscript.sh
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
76+
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
7777
with:
7878
category: '/language:${{matrix.language}}'

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Harden Runner
29-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
29+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3030
with:
3131
egress-policy: audit
3232

.github/workflows/lighthouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Harden Runner
68-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
68+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
6969
with:
7070
egress-policy: audit
7171

.github/workflows/lint-and-tests.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Harden Runner
40-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
40+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
4141
with:
4242
egress-policy: audit
4343

@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Harden Runner
68-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
68+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
6969
with:
7070
egress-policy: audit
7171

@@ -76,7 +76,7 @@ jobs:
7676
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
7777

7878
- name: Restore Lint Cache
79-
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
79+
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
8080
with:
8181
path: |
8282
.turbo/cache
@@ -95,7 +95,7 @@ jobs:
9595
cache-lint-
9696
9797
- name: Set up Node.js
98-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
98+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
9999
with:
100100
# We want to ensure that the Node.js version running here respects our supported versions
101101
node-version-file: '.nvmrc'
@@ -129,7 +129,7 @@ jobs:
129129
(github.event_name == 'pull_request_target' &&
130130
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
131131
github.event.pull_request.head.ref != 'chore/crowdin')
132-
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
132+
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
133133
with:
134134
path: |
135135
.turbo/cache
@@ -159,7 +159,7 @@ jobs:
159159

160160
steps:
161161
- name: Harden Runner
162-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
162+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
163163
with:
164164
egress-policy: audit
165165

@@ -173,7 +173,7 @@ jobs:
173173
fetch-depth: 0
174174

175175
- name: Set up Node.js
176-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
176+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
177177
with:
178178
# We want to ensure that the Node.js version running here respects our supported versions
179179
node-version-file: '.nvmrc'
@@ -202,9 +202,9 @@ jobs:
202202
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
203203
github.event.pull_request.head.ref != 'chore/crowdin')
204204
# sha reference has no stable git tag reference or URL. see https://github.com/chromaui/chromatic-cli/issues/797
205-
uses: chromaui/action@30b6228aa809059d46219e0f556752e8672a7e26
205+
uses: chromaui/action@c93e0bc3a63aa176e14a75b61a31847cbfdd341c
206206
with:
207-
workingDir: apps/site
207+
workingDir: packages/ui-components
208208
buildScriptName: storybook:build
209209
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
210210
exitOnceUploaded: true
@@ -220,6 +220,9 @@ jobs:
220220
uses: MishaKav/jest-coverage-comment@d74238813c33e6ea20530ff91b5ea37953d11c91 # v1.0.27
221221
with:
222222
title: 'Unit Test Coverage Report'
223-
junitxml-path: ./apps/site/junit.xml
224-
junitxml-title: Unit Test Report
225-
coverage-summary-path: ./apps/site/coverage/coverage-summary.json
223+
multiple-junitxml-files: |
224+
@node-core/ui-components, ./packages/ui-components/junit.xml
225+
@nodejs/website, ./apps/site/junit.xml
226+
multiple-files: |
227+
@node-core/ui-components, ./packages/ui-components/coverage/coverage-summary.json
228+
@nodejs/website, ./apps/site/coverage/coverage-summary.json

.github/workflows/pull-request-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Harden Runner
34-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
34+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3535
with:
3636
egress-policy: audit
3737

.github/workflows/scorecard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Harden Runner
35-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
35+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3636
with:
3737
egress-policy: audit
3838

@@ -42,7 +42,7 @@ jobs:
4242
persist-credentials: false
4343

4444
- name: Run Scorecard Analysis
45-
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
45+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
4646
with:
4747
results_file: results.sarif
4848
results_format: sarif
@@ -51,14 +51,14 @@ jobs:
5151
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
5252
# format to the repository Actions tab.
5353
- name: Upload Artifacts
54-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
54+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
5555
with:
5656
name: SARIF file
5757
path: results.sarif
5858
retention-days: 5
5959

6060
# Upload the results to GitHub's code scanning dashboard.
6161
- name: Upload Scan Results
62-
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
62+
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
6363
with:
6464
sarif_file: results.sarif

.github/workflows/translations-pr-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Harden Runner
45-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
45+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
4646
with:
4747
egress-policy: audit
4848

.github/workflows/translations-sync.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Harden Runner
31-
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
31+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
3232
with:
3333
egress-policy: audit
3434

@@ -37,7 +37,7 @@ jobs:
3737

3838
# see all the options at https://github.com/crowdin/github-action
3939
- name: Crowdin PR
40-
uses: crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0
40+
uses: crowdin/github-action@b811e495831e49ff516e7c801f7c5546879b9ee7 # v2.5.2
4141
id: crowdin_pr
4242
with:
4343
# do not upload anything - this is a one-way operation download
@@ -67,7 +67,7 @@ jobs:
6767

6868
steps:
6969
- name: Harden Runner
70-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
70+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
7171
with:
7272
egress-policy: audit
7373

@@ -78,7 +78,7 @@ jobs:
7878
ref: refs/pull/${{ needs.synchronize-with-crowdin.outputs.pull_request_number }}/head
7979

8080
- name: Restore Lint Cache
81-
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
81+
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
8282
with:
8383
path: |
8484
apps/site/.eslintmdcache
@@ -94,7 +94,7 @@ jobs:
9494
cache-lint-
9595
9696
- name: Set up Node.js
97-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
97+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
9898
with:
9999
# We want to ensure that the Node.js version running here respects our supported versions
100100
node-version-file: '.nvmrc'
@@ -116,14 +116,14 @@ jobs:
116116
run: npx prettier "apps/site/{pages,i18n}/**/*.{json,md,mdx}" --check --write --cache --cache-strategy=metadata --cache-location=apps/site/.prettiercache
117117

118118
- name: Push Changes back to Pull Request
119-
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
119+
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
120120
with:
121121
commit_options: '--no-verify --signoff'
122122
commit_message: 'chore: automated format of translated files'
123123
branch: 'chore/crowdin'
124124

125125
- name: Save Lint Cache
126-
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
126+
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
127127
with:
128128
path: |
129129
apps/site/.eslintmdcache

.github/workflows/translations-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Harden Runner
21-
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
21+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
2222
with:
2323
egress-policy: audit
2424

@@ -27,7 +27,7 @@ jobs:
2727

2828
# see all the options at https://github.com/crowdin/github-action
2929
- name: crowdin action
30-
uses: crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0
30+
uses: crowdin/github-action@b811e495831e49ff516e7c801f7c5546879b9ee7 # v2.5.2
3131
with:
3232
# only upload sources, ensuring this is a one-way operation
3333
upload_sources: true

0 commit comments

Comments
 (0)