Skip to content

Commit

Permalink
update doc button and improve ci script to build project (to check if…
Browse files Browse the repository at this point in the history
… it is possible)
  • Loading branch information
florianbgt committed Oct 23, 2024
1 parent b208442 commit 5beb7c6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and tests
name: Lint, tests and build

on:
push:
Expand Down Expand Up @@ -38,3 +38,23 @@ jobs:

- name: Tests
run: npm run test

build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "22"

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Binaries
run: npm run binaries
2 changes: 1 addition & 1 deletion packages/app/src/layout/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function DefaultLayout({
<img src="/logo.png" alt="logo" className="w-20 h-20" />
<span className="text-3xl text-white">NanoAPI</span>
</a>
<a href="https://docs.nanoapi.io" target="_blank">
<a href="https://nanoapi.io/docs" target="_blank">
<Button color="plum">Documentation</Button>
</a>
</div>
Expand Down

0 comments on commit 5beb7c6

Please sign in to comment.