Skip to content

Commit aa2eb63

Browse files
authored
ci: Turbo --affected (#1574)
1 parent cdcff43 commit aa2eb63

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/workflows/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
env:
1212
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
1313
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
14+
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && (github.event.pull_request.base.sha || github.event.before) }}
1415
steps:
1516
# General setup
1617
- uses: actions/checkout@v4

docs/src/components/Analytics.tsx

-5
This file was deleted.

docs/src/pages/_app.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import {Analytics} from '@vercel/analytics/next';
12
import {SpeedInsights} from '@vercel/speed-insights/next';
23
import {AppProps} from 'next/app';
34
import {Inter} from 'next/font/google';
45
import {ReactNode} from 'react';
5-
import Analytics from '@/components/Analytics';
66
import 'nextra-theme-docs/style.css';
77
import '../styles.css';
88

@@ -17,8 +17,8 @@ export default function App({Component, pageProps}: Props) {
1717
return (
1818
<div className={inter.className}>
1919
{getLayout(<Component {...pageProps} />)}
20-
<Analytics />
2120
<SpeedInsights />
21+
<Analytics />
2222
</div>
2323
);
2424
}

packages/next-intl/src/server/react-client/index.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('getRequestConfig', () => {
1515
messages: {hello: 'Hello ' + locale}
1616
}));
1717
expect(() =>
18-
getConfig({locale: 'en', requestLocale: Promise.resolve('en')})
18+
getConfig({requestLocale: Promise.resolve('en'), locale: 'en'})
1919
).toThrow('`getRequestConfig` is not supported in Client Components.');
2020
});
2121
});

0 commit comments

Comments
 (0)