mirror of
https://github.com/nestjs/docs.nestjs.com.git
synced 2026-02-25 22:15:07 +00:00
Bump GitHub action workflows
This commit is contained in:
10
.github/workflows/lighthouse.yml
vendored
10
.github/workflows/lighthouse.yml
vendored
@@ -10,11 +10,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Use Node.js 20.x
|
- name: Use Node.js 22.x
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 22.x
|
||||||
# Build needs around 400 seconds on Netlify.
|
# Build needs around 400 seconds on Netlify.
|
||||||
# We can not rely on "Waiting for 200", since the user
|
# We can not rely on "Waiting for 200", since the user
|
||||||
# might push another commit to an existing PR, meaning
|
# might push another commit to an existing PR, meaning
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
site_name: 'docs-nestjs'
|
site_name: 'docs-nestjs'
|
||||||
max_timeout: 600
|
max_timeout: 600
|
||||||
- name: Run Lighthouse on urls and validate with lighthouserc
|
- name: Run Lighthouse on urls and validate with lighthouserc
|
||||||
uses: treosh/lighthouse-ci-action@v8
|
uses: treosh/lighthouse-ci-action@v12
|
||||||
with:
|
with:
|
||||||
urls: |
|
urls: |
|
||||||
${{ steps.wait-for-netflify-preview.outputs.url }}
|
${{ steps.wait-for-netflify-preview.outputs.url }}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ html[mode='dark'] {
|
|||||||
&::-webkit-scrollbar-track {
|
&::-webkit-scrollbar-track {
|
||||||
background: var(--menu-background);
|
background: var(--menu-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-scrollbar-corner {
|
&::-webkit-scrollbar-corner {
|
||||||
background: var(--menu-background);
|
background: var(--menu-background);
|
||||||
}
|
}
|
||||||
@@ -127,7 +127,7 @@ blockquote {
|
|||||||
strong {
|
strong {
|
||||||
color: variables.$red-color;
|
color: variables.$red-color;
|
||||||
@include utils.text-gradient();
|
@include utils.text-gradient();
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
display: block;
|
display: block;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
@@ -163,7 +163,7 @@ blockquote {
|
|||||||
code[class*=language-], pre[class*=language-] {
|
code[class*=language-], pre[class*=language-] {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p:last-of-type {
|
p:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@@ -399,8 +399,8 @@ tr td span.table-code-asterisk {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background: var(--primary-gradient);
|
background: var(--primary-gradient);
|
||||||
-webkit-mask:
|
-webkit-mask:
|
||||||
linear-gradient(#fff 0 0) content-box,
|
linear-gradient(#fff 0 0) content-box,
|
||||||
linear-gradient(#fff 0 0);
|
linear-gradient(#fff 0 0);
|
||||||
-webkit-mask-composite: xor;
|
-webkit-mask-composite: xor;
|
||||||
mask-composite: exclude;
|
mask-composite: exclude;
|
||||||
@@ -420,7 +420,7 @@ tr td span.table-code-asterisk {
|
|||||||
background: rgba(0, 0, 0, 0.6);
|
background: rgba(0, 0, 0, 0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scollbar sidebar
|
// Scrollbar sidebar
|
||||||
|
|
||||||
app-menu::-webkit-scrollbar {
|
app-menu::-webkit-scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
@@ -433,4 +433,4 @@ app-menu:hover::-webkit-scrollbar-thumb {
|
|||||||
|
|
||||||
app-menu::-webkit-scrollbar-thumb:hover {
|
app-menu::-webkit-scrollbar-thumb:hover {
|
||||||
-webkit-transition: #dedede 1s linear;
|
-webkit-transition: #dedede 1s linear;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user