Add CI
All checks were successful
CI / Build (push) Successful in 12s

This commit is contained in:
TheBrokenRail 2025-02-15 15:03:44 -05:00
parent c803572e24
commit 16ab0983a7
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,24 @@
name: 'CI'
on:
push:
branches:
- master
# Jobs
jobs:
# Build Project
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
# Dependencies
- name: Install Dependencies
run: npm ci
# Build
- name: Build
run: npm run build
# Lint
- name: Lint
run: npm run lint

View File

@ -4,7 +4,8 @@
"description": "",
"main": "build/index.js",
"scripts": {
"start": "tsc && node build/index.js",
"build": "tsc",
"start": "npm run build && node build/index.js",
"lint": "eslint . --ext .ts"
},
"author": "TheBrokenRail",