generated from nhcarrigan/template
feat: initial site setup #1
41
.gitea/workflows/CI.yml
Normal file
41
.gitea/workflows/CI.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
name: Node.js CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: Lint and Test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Source Files
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Use Node.js v24
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 10
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Generate Database Schema
|
||||||
|
run: cd server && pnpm prisma generate
|
||||||
|
|
||||||
|
- name: Lint Source Files
|
||||||
|
run: pnpm run lint
|
||||||
|
|
||||||
|
- name: Verify Build
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: pnpm run test
|
@ -1,10 +1,16 @@
|
|||||||
import { Component } from '@angular/core';
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Component } from "@angular/core";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-characters',
|
imports: [],
|
||||||
imports: [],
|
selector: "app-characters",
|
||||||
templateUrl: './characters.html',
|
styleUrl: "./characters.css",
|
||||||
styleUrl: './characters.css'
|
templateUrl: "./characters.html",
|
||||||
})
|
})
|
||||||
export class Characters {
|
export class Characters {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user