Add CI workflow,

This commit is contained in:
2025-04-24 18:58:25 +09:30
parent 4b88f70c9a
commit 77f27b598b
2 changed files with 22 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
name: build
on: push
jobs:
build:
runs-on: ubuntu-latest
- uses: actions/checkout@v4
with:
lfs: true
- uses: oven-sh/setup-bun@v2
- name: Install NPM Packages
run: bun install
- name: Build Web Dist
run: bun run build

View File

@@ -23,9 +23,7 @@
"outputPath": "dist/ingey-eager", "outputPath": "dist/ingey-eager",
"index": "src/index.html", "index": "src/index.html",
"browser": "src/main.ts", "browser": "src/main.ts",
"polyfills": [ "polyfills": ["zone.js"],
"zone.js"
],
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"assets": [ "assets": [
@@ -34,9 +32,7 @@
"input": "public" "input": "public"
} }
], ],
"styles": [ "styles": ["src/styles.scss"],
"src/styles.scss"
],
"scripts": [] "scripts": []
}, },
"configurations": { "configurations": {
@@ -44,8 +40,8 @@
"budgets": [ "budgets": [
{ {
"type": "initial", "type": "initial",
"maximumWarning": "500kB", "maximumWarning": "2MB",
"maximumError": "1MB" "maximumError": "5MB"
}, },
{ {
"type": "anyComponentStyle", "type": "anyComponentStyle",
@@ -81,10 +77,7 @@
"test": { "test": {
"builder": "@angular-devkit/build-angular:karma", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"polyfills": [ "polyfills": ["zone.js", "zone.js/testing"],
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json", "tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"assets": [ "assets": [
@@ -93,9 +86,7 @@
"input": "public" "input": "public"
} }
], ],
"styles": [ "styles": ["src/styles.scss"],
"src/styles.scss"
],
"scripts": [] "scripts": []
} }
} }