diff options
author | 2022-10-12 09:48:29 -0300 | |
---|---|---|
committer | 2022-10-12 09:48:29 -0300 | |
commit | f604ef6c694e88bcf2f22ce97a33bf131074326f (patch) | |
tree | c5579e65fb4c6c0ba854933998e5993137a9c0ce /examples/portfolio/src/pages/projects.astro | |
parent | 640ce72d336101ff3bc02a596373ddbf1713e5db (diff) | |
download | astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.gz astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.zst astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.zip |
Run astro check on all examples in CI (#5022)
* Run astro check on all examples in CI
* Output stderr
* Build Astro before running checks
* Making things faster + colors
* Fix errors inside examples
* Add congrats message
* Revert unentional change to tsconfigs
* Remove more unneeded changes
Diffstat (limited to 'examples/portfolio/src/pages/projects.astro')
-rw-r--r-- | examples/portfolio/src/pages/projects.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/portfolio/src/pages/projects.astro b/examples/portfolio/src/pages/projects.astro index 415e7aeeb..1f89dabf0 100644 --- a/examples/portfolio/src/pages/projects.astro +++ b/examples/portfolio/src/pages/projects.astro @@ -3,8 +3,9 @@ import MainHead from '../components/MainHead.astro'; import Footer from '../components/Footer.astro'; import Nav from '../components/Nav.astro'; import PortfolioPreview from '../components/PortfolioPreview.astro'; +import type { Project } from '../types'; -const projects = (await Astro.glob('./project/**/*.md')) +const projects = (await Astro.glob<Project>('./project/**/*.md')) .filter(({ frontmatter }) => !!frontmatter.publishDate) .sort( (a, b) => |