Compare commits

5 Commits
v1.0.0 ... main

Author SHA1 Message Date
f111479143 feat: add to discord button
Some checks failed
Code Analysis / SonarQube (push) Failing after 17s
Node.js CI / Lint and Test (push) Successful in 48s
2025-07-04 17:56:48 -07:00
98316ebd38 feat: avatar
All checks were successful
Node.js CI / Lint and Test (push) Successful in 1m6s
Code Analysis / SonarQube (push) Successful in 1m15s
2025-05-22 19:44:47 -07:00
bdc17d644d chore: add sonar workflow
All checks were successful
Node.js CI / Lint and Test (push) Successful in 1m20s
Code Analysis / SonarQube (push) Successful in 1m23s
2025-02-26 13:19:58 -08:00
d622620120 fix(tools): build prisma in ci
All checks were successful
Node.js CI / Lint and Test (push) Successful in 43s
2025-02-23 20:07:40 -08:00
a21655bf70 chore: port
Some checks failed
Node.js CI / Lint and Test (push) Failing after 36s
2025-02-23 19:47:24 -08:00
3 changed files with 43 additions and 2 deletions

View File

@ -28,6 +28,9 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: pnpm install run: pnpm install
- name: Build Database
run: pnpm prisma generate
- name: Lint Source Files - name: Lint Source Files
run: pnpm run lint run: pnpm run lint

View File

@ -0,0 +1,34 @@
name: Code Analysis
on:
push:
branches:
- main
jobs:
sonar:
name: SonarQube
steps:
- name: Checkout Source Files
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCube Scan
uses: SonarSource/sonarqube-scan-action@v4
timeout-minutes: 10
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"
with:
args: >
-Dsonar.sources=.
-Dsonar.projectKey=gwen-abalise
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@v1
with:
pollingTimeoutSec: 600
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"

View File

@ -19,8 +19,12 @@ const html = `<!DOCTYPE html>
<body> <body>
<main> <main>
<h1>Gwen Abalise</h1> <h1>Gwen Abalise</h1>
<img src="https://cdn.nhcarrigan.com/new-avatars/gwen-full.png" width="250" alt="Gwen" />
<section> <section>
<p>Ticketing system for Discord!</p> <p>Ticketing system for Discord!</p>
<a href="https://discord.com/oauth2/authorize?client_id=1343413943447584819" class="social-button discord-button" style="display: inline-block; background-color: #5865F2; color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px; margin: 5px;">
<i class="fab fa-discord"></i> Add to Discord
</a>
</section> </section>
<section> <section>
<h2>Links</h2> <h2>Links</h2>
@ -58,12 +62,12 @@ export const instantiateServer = (): void => {
response.send(html); response.send(html);
}); });
server.listen({ port: 5010 }, (error) => { server.listen({ port: 5012 }, (error) => {
if (error) { if (error) {
void logger.error("instantiate server", error); void logger.error("instantiate server", error);
return; return;
} }
void logger.log("debug", "Server listening on port 5010."); void logger.log("debug", "Server listening on port 5012.");
}); });
} catch (error) { } catch (error) {
if (error instanceof Error) { if (error instanceof Error) {