diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5583c53..74c31c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings) github_token: ${{ secrets.github_token }} + build_script_name: 'ci' # skip npm run build as there's no script like that skip_build: true # If the commit is tagged with a version (e.g. "v1.0.0"), diff --git a/package.json b/package.json index b12b1f1..bfefd2e 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "build": "tsc", "watch": "tsc -w", + "ci": "npm run build && npm run copy-files", "start": "npm run build && npm run copy-files && electron ./ts-out/main.js", "package": "npm run build && npm run copy-files && electron-builder", "copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css ts-out/ && copyfiles package.json ts-out/ && copyfiles assets/** ts-out/"