Skip to content
Open
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
29 changes: 29 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: On Pull Request Opened

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
test:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./src

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v4
with:
node-version: 22

- name: Install packages
run: npm i

- name: Check syntax code
run: npm run eslint

- name: Check typescript
run: npm run typecheck
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -405,3 +405,9 @@ Properties

schemas.json
Cesxhin.AnimeManga.Api.csproj


# node
node_modules
package-lock.json
.env
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "references"]
path = references
url = https://github.com/Anime-Manga/references.git
branch = refactory
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node-terminal",
"request": "launch",
"name": "Start",
"cwd": "${workspaceFolder}/src_refactory",
"command": "npm run start"
}
]
}
35 changes: 0 additions & 35 deletions src/Cesxhin.AnimeManga.Api/Cesxhin.AnimeManga.Api.csproj

This file was deleted.

134 changes: 0 additions & 134 deletions src/Cesxhin.AnimeManga.Api/Controllers/AccountController.cs

This file was deleted.

Loading