Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(next-drupal): run code formatting/linting on full monorepo #701

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading