Skip to content

Commit

Permalink
ci: Turbo --affected (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored Nov 26, 2024
1 parent cdcff43 commit aa2eb63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && (github.event.pull_request.base.sha || github.event.before) }}
steps:
# General setup
- uses: actions/checkout@v4
Expand Down
5 changes: 0 additions & 5 deletions docs/src/components/Analytics.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions docs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {Analytics} from '@vercel/analytics/next';
import {SpeedInsights} from '@vercel/speed-insights/next';
import {AppProps} from 'next/app';
import {Inter} from 'next/font/google';
import {ReactNode} from 'react';
import Analytics from '@/components/Analytics';
import 'nextra-theme-docs/style.css';
import '../styles.css';

Expand All @@ -17,8 +17,8 @@ export default function App({Component, pageProps}: Props) {
return (
<div className={inter.className}>
{getLayout(<Component {...pageProps} />)}
<Analytics />
<SpeedInsights />
<Analytics />
</div>
);
}
2 changes: 1 addition & 1 deletion packages/next-intl/src/server/react-client/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('getRequestConfig', () => {
messages: {hello: 'Hello ' + locale}
}));
expect(() =>
getConfig({locale: 'en', requestLocale: Promise.resolve('en')})
getConfig({requestLocale: Promise.resolve('en'), locale: 'en'})
).toThrow('`getRequestConfig` is not supported in Client Components.');
});
});

0 comments on commit aa2eb63

Please sign in to comment.