Skip to content

Commit 94efcab

Browse files
authored
ci(next-drupal): run code formatting/linting on full monorepo (#701)
1 parent bdd289f commit 94efcab

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

.github/workflows/next-drupal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
with:
1515
ref: ${{github.event.pull_request.head.ref}}
1616
repository: ${{github.event.pull_request.head.repo.full_name}}
17-
- name: Install modules
17+
- name: Install packages
1818
run: yarn
1919
- name: Run tests
20-
run: yarn workspace next-drupal test
20+
run: yarn test
2121
env:
2222
DRUPAL_BASE_URL: ${{ secrets.DRUPAL_BASE_URL }}
2323
DRUPAL_USERNAME: ${{ secrets.DRUPAL_USERNAME }}

examples/example-blog/components/meta.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ export function Meta({ title, tags }: MetaProps) {
4848
content={`${process.env.NEXT_PUBLIC_BASE_URL}/images/meta.jpg`}
4949
/>
5050
<meta key="og_image_width" property="og:image:width" content="800" />
51-
<meta key="og_image_height" property="og:image:height" content="600" />
51+
<meta
52+
key="og_image_height"
53+
property="og:image:height"
54+
content="600"
55+
/>
5256
</>
5357
)}
5458
</Head>

examples/example-graphql/pages/[...slug].tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ export default function NodePage({ resource }) {
1212
<Layout>
1313
<Head>
1414
<title>{resource.title}</title>
15-
<meta key="description" name="description" content="A Next.js site powered by Drupal." />
15+
<meta
16+
key="description"
17+
name="description"
18+
content="A Next.js site powered by Drupal."
19+
/>
1620
</Head>
1721
{resource && <NodeArticle node={resource} />}
1822
</Layout>

examples/example-marketing/components/meta.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ export function Meta({ title, tags }: MetaProps) {
4848
content={`${process.env.NEXT_PUBLIC_BASE_URL}/images/meta.jpg`}
4949
/>
5050
<meta key="og_image_width" property="og:image:width" content="800" />
51-
<meta key="og_image_height" property="og:image:height" content="600" />
51+
<meta
52+
key="og_image_height"
53+
property="og:image:height"
54+
content="600"
55+
/>
5256
</>
5357
)}
5458
</Head>

examples/example-umami/components/meta.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ export function Meta({ title, description }: MetaProps) {
2121
href={absoluteURL(router.asPath !== "/" ? router.asPath : "")}
2222
/>
2323
<title>{`${title} | ${siteConfig.name}`}</title>
24-
<meta key="description" name="description" content={description || siteConfig.slogan} />
24+
<meta
25+
key="description"
26+
name="description"
27+
content={description || siteConfig.slogan}
28+
/>
2529
<meta
2630
key="og_image"
2731
property="og:image"

0 commit comments

Comments
 (0)