diff --git a/.github/workflows/build-on-main.yml b/.github/workflows/build-on-main.yml index 489d6f8..4e377bd 100644 --- a/.github/workflows/build-on-main.yml +++ b/.github/workflows/build-on-main.yml @@ -2,7 +2,7 @@ name: Build on main on: push: - branches: ["main"] + branches: ["main", "fix/ci"] jobs: build: @@ -18,6 +18,7 @@ jobs: git config user.email github-actions@github.com git config push.default current git checkout -b release/main + php artisan artisan typescript:transform npm run build git add --force public/build git commit -m "build" diff --git a/package.json b/package.json index f07cec6..0b7eac5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "types": "./vendor/bin/sail artisan typescript:transform", "dev": "npm run types && vite", - "build": "npm run types && vue-tsc && vite build", + "build": "vue-tsc && vite build", "setup": "./setup.sh", "sail": "./vendor/bin/sail up -d" },