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

Bump next from 12.2.4 to 14.2.15 #138

Merged
merged 5 commits into from
Nov 1, 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
2 changes: 1 addition & 1 deletion .github/workflows/blueprint-export-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- name: Check for changes
id: check-for-export-changes
run: echo ::set-output name=check::$(git diff --name-only origin/main --exit-code -- acm-blueprint.zip)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16', '18' ]
node: [ '18', '20' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- run: npm install
- run: npm run format:check
continue-on-error: FALSE
2 changes: 1 addition & 1 deletion components/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function Button({

if (href) {
return (
<Link href={href}>
<Link legacyBehavior href={href}>
<a role="button" href={href} className={buttonClassName} {...props}>
{children}
</a>
Expand Down
4 changes: 2 additions & 2 deletions components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function Header({ className, menuItems }) {
<div className="container">
<div className={cx('bar')}>
<div className={cx('logo')}>
<Link href="/">
<Link legacyBehavior href="/">
<a title="Home">
<Image
src="/logo.png"
Expand Down Expand Up @@ -57,7 +57,7 @@ export default function Header({ className, menuItems }) {
menuItems={menuItems}
>
<li>
<Link href="/search">
<Link legacyBehavior href="/search">
<a>
<FaSearch title="Search" role="img" />
</a>
Expand Down
4 changes: 2 additions & 2 deletions components/Posts/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Posts({ posts, intro, id }) {
id={`post-${post.id}`}
>
<div className={cx('card')}>
<Link href={post?.uri ?? '#'}>
<Link legacyBehavior href={post?.uri ?? '#'}>
<a className={cx('image-holder')} tabIndex="-1">
<FeaturedImage
className={cx('image')}
Expand All @@ -57,7 +57,7 @@ function Posts({ posts, intro, id }) {
</Link>

<Heading level="h4" className={cx('header')}>
<Link href={post?.uri ?? '#'}>
<Link legacyBehavior href={post?.uri ?? '#'}>
<a ref={isFirstNewResult ? firstNewResultRef : null}>
{post.title}
</a>
Expand Down
2 changes: 1 addition & 1 deletion components/Projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Projects({ projects, id, emptyText = 'No projects found.' }) {
/>
<div className={cx('content')}>
<Heading level="h3">
<Link href={project?.uri ?? '#'}>
<Link legacyBehavior href={project?.uri ?? '#'}>
<a ref={isFirstNewResult ? firstNewResultRef : null}>
{project.projectFields.title}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function SearchRecommendations({ categories }) {
<ul>
{categories?.map((node) => (
<li key={node.databaseId}>
<Link href={node.uri}>
<Link legacyBehavior href={node.uri}>
<a>{node.name}</a>
</Link>
</li>
Expand Down
2 changes: 1 addition & 1 deletion components/SearchResults/SearchResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function SearchResults({ searchResults, isLoading }) {
<>
{searchResults?.map((node) => (
<div key={node.databaseId} className={styles.result}>
<Link href={node.uri}>
<Link legacyBehavior href={node.uri}>
<a>
<h2 className={styles.title}>{node.title}</h2>
</a>
Expand Down
2 changes: 1 addition & 1 deletion components/TaxonomyTerms/TaxonomyTerms.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function TaxonomyTerms({ post, taxonomy }) {
const { name, uri } = edge.node;
return (
uri && (
<Link key={index} href={uri}>
<Link legacyBehavior key={index} href={uri}>
{name}
</Link>
)
Expand Down
Loading
Loading