Skip to content
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
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Astro CI

# Runs on all pull requests to main branch
on:
pull_request:
branches:
Expand All @@ -11,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install, build, and upload your site
uses: withastro/action@v1
uses: withastro/action@v5
with:
package-manager: pnpm@latest
node-version: 22
9 changes: 4 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -45,4 +44,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
9 changes: 6 additions & 3 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Install, build, and upload your site
uses: withastro/action@v1
uses: withastro/action@v5
with:
package-manager: pnpm@latest
node-version: 22

deploy:
needs: build
Expand All @@ -32,4 +35,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
4 changes: 3 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export default defineConfig({
remarkPlugins: [remarkReadingTime],
},
image: {
// Example: Enable the Sharp-based image service
service: { entrypoint: "astro/assets/services/sharp" },
},
experimental: {
rustCompiler: true,
},
});
33 changes: 23 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
"url": "https://github.com/natebwangsut/natebwangsut.github.io"
},
"dependencies": {
"@astrojs/react": "^3.6.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/compiler-rs": "latest",
"@astrojs/react": "^5.0.0",
"@astrojs/rss": "^4.0.17",
"@astrojs/sitemap": "^3.7.1",
"@iconify-json/ri": "^1.1.22",
"@react-spring/web": "^9.7.4",
"astro": "^4.13.3",
"astro": "^6.0.0",
"astro-icon": "^1.1.0",
"astro-robots-txt": "^1.0.0",
"cobe": "^0.6.3",
Expand All @@ -34,16 +35,28 @@
"reading-time": "^1.5.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.7",
"@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@unocss/astro": "^0.58.9",
"@unocss/postcss": "^0.58.9",
"@unocss/preset-uno": "^0.58.9",
"@unocss/reset": "^0.58.9",
"autoprefixer": "^10.4.20",
"@types/sanitize-html": "^2.16.1",
"@unocss/astro": "^66.6.6",
"@unocss/postcss": "^66.6.6",
"@unocss/reset": "^66.6.6",
"markdown-it": "^14.1.0",
"motion": "^10.18.0",
"sanitize-html": "^2.13.0",
"unocss": "^0.58.9"
"typescript": "^5.9.3",
"unocss": "^66.6.6"
},
"pnpm": {
"overrides": {
"vite": "^8.0.0"
},
"onlyBuiltDependencies": [
"esbuild",
"sharp"
]
}
}
Loading
Loading