parent
c803572e24
commit
16ab0983a7
24
.gitea/workflows/build.yml
Normal file
24
.gitea/workflows/build.yml
Normal 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
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user