Added lint to build
All checks were successful
Build and Deploy docker container / build (push) Successful in 3m18s
All checks were successful
Build and Deploy docker container / build (push) Successful in 3m18s
This commit is contained in:
parent
dbd27cb5c7
commit
7671b0d7bc
@ -40,6 +40,8 @@ jobs:
|
|||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
- name: Update node modules
|
- name: Update node modules
|
||||||
run: yarn
|
run: yarn
|
||||||
|
- name: Lint
|
||||||
|
run: yarn lint
|
||||||
- name: Build app and export to ./out
|
- name: Build app and export to ./out
|
||||||
run: EXPORT=1 UNOPTIMIZED=1 yarn build
|
run: EXPORT=1 UNOPTIMIZED=1 yarn build
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
@ -14,7 +14,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
|||||||
lastModified: post.lastmod || post.date,
|
lastModified: post.lastmod || post.date,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const routes = ['', 'blog','likes', 'projects', 'tags'].map((route) => ({
|
const routes = ['', 'blog', 'likes', 'projects', 'tags'].map((route) => ({
|
||||||
url: `${siteUrl}/${route}`,
|
url: `${siteUrl}/${route}`,
|
||||||
lastModified: new Date().toISOString().split('T')[0],
|
lastModified: new Date().toISOString().split('T')[0],
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user