Skip to content

Commit

Permalink
CI Compile Check + Compile Fix (#23)
Browse files Browse the repository at this point in the history
* Removed log in render.

* Added CI build check.
  • Loading branch information
Kuinox committed Nov 15, 2023
1 parent 942ff96 commit 3658016
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: write
pages: write
id-token: write
deployments: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '19'

- name: Install dependencies
run: npm ci

- name: Build the app
run: npm run build
1 change: 0 additions & 1 deletion src/app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default async function Page() {
})}
</span>
<span className="muted-color">&nbsp;&nbsp;Tags </span>
{console.log(article) && ""}
<span>{article.tags}</span>
<span className="muted-color">&nbsp;&nbsp;By </span>
<span>{article.authors?.join(", ")}</span>
Expand Down

0 comments on commit 3658016

Please sign in to comment.