From 22f0bd9b8622c860e3efd8de70fedc70631646ae Mon Sep 17 00:00:00 2001 From: Arthaud Date: Thu, 19 Oct 2023 09:42:57 +0200 Subject: [PATCH] fix: build type --- .github/workflows/build-on-main.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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" },