Skip to content

Commit

Permalink
ci(next-drupal): run code formatting/linting on full monorepo (chapte…
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin authored and marcorcau committed Mar 26, 2024
1 parent b9e8f4a commit bfa73fb
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/next-drupal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Install modules
- name: Install packages
run: yarn
- name: Run tests
run: yarn workspace next-drupal test
run: yarn test
env:
DRUPAL_BASE_URL: ${{ secrets.DRUPAL_BASE_URL }}
DRUPAL_USERNAME: ${{ secrets.DRUPAL_USERNAME }}
Expand Down
6 changes: 5 additions & 1 deletion examples/example-blog/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ export function Meta({ title, tags }: MetaProps) {
content={`${process.env.NEXT_PUBLIC_BASE_URL}/images/meta.jpg`}
/>
<meta key="og_image_width" property="og:image:width" content="800" />
<meta key="og_image_height" property="og:image:height" content="600" />
<meta
key="og_image_height"
property="og:image:height"
content="600"
/>
</>
)}
</Head>
Expand Down
6 changes: 5 additions & 1 deletion examples/example-graphql/pages/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export default function NodePage({ resource }) {
<Layout>
<Head>
<title>{resource.title}</title>
<meta key="description" name="description" content="A Next.js site powered by Drupal." />
<meta
key="description"
name="description"
content="A Next.js site powered by Drupal."
/>
</Head>
{resource && <NodeArticle node={resource} />}
</Layout>
Expand Down
6 changes: 5 additions & 1 deletion examples/example-marketing/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ export function Meta({ title, tags }: MetaProps) {
content={`${process.env.NEXT_PUBLIC_BASE_URL}/images/meta.jpg`}
/>
<meta key="og_image_width" property="og:image:width" content="800" />
<meta key="og_image_height" property="og:image:height" content="600" />
<meta
key="og_image_height"
property="og:image:height"
content="600"
/>
</>
)}
</Head>
Expand Down
6 changes: 5 additions & 1 deletion examples/example-umami/components/meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export function Meta({ title, description }: MetaProps) {
href={absoluteURL(router.asPath !== "/" ? router.asPath : "")}
/>
<title>{`${title} | ${siteConfig.name}`}</title>
<meta key="description" name="description" content={description || siteConfig.slogan} />
<meta
key="description"
name="description"
content={description || siteConfig.slogan}
/>
<meta
key="og_image"
property="og:image"
Expand Down

0 comments on commit bfa73fb

Please sign in to comment.