以前の版で書いた Server Action を、Next.js 16 でビルドしました。型チェックは有効です。どうなりますか。
app/actions.ts
Buildで実行
'use server' Serverで実行
import { revalidateTag } from 'next/cache' Serverで実行
export async function save() {Serverで実行
revalidateTag('posts')Serverで実行
}出典nextjs.org/docs/app/api-reference/functions/revalidateTagnextjs.org/docs/messages/revalidate-tag-single-arg