mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-25 03:32:54 +01:00
come on ci
This commit is contained in:
parent
6c769e5ff4
commit
c5efb84f9e
2
.github/workflows/tauri.yml
vendored
2
.github/workflows/tauri.yml
vendored
@ -31,6 +31,8 @@ jobs:
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsoup-3.0-dev libjavascriptcoregtk-4.1-dev
|
||||
- name: Install Frontend Dependencies
|
||||
run: pnpm i
|
||||
- name: Run version generator
|
||||
run: pnpm run ci:prebuild
|
||||
- uses: spacebarchat/tauri-action@dev
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
10
package.json
10
package.json
@ -105,16 +105,16 @@
|
||||
"url": "git+https://github.com/spacebarchat/client.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run ci:prebuild && tsc && vite build",
|
||||
"build": "tsc && vite build",
|
||||
"ci:prebuild": "node scripts/tauri-version.js",
|
||||
"dev": "vite",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint:fix": "pnpx prettier . --write",
|
||||
"preview": "vite preview",
|
||||
"tauri:dev": "tauri dev",
|
||||
"tauri:build": "tauri build",
|
||||
"tauri:android:dev": "tauri android dev",
|
||||
"tauri:android:build": "tauri android build"
|
||||
"tauri:dev": "pnpm run ci:prebuild && tauri dev",
|
||||
"tauri:build": "pnpm run ci:prebuild && tauri build",
|
||||
"tauri:android:dev": "pnpm run ci:prebuild && tauri android dev",
|
||||
"tauri:android:build": "pnpm run ci:prebuild && tauri android build"
|
||||
},
|
||||
"type": "module",
|
||||
"version": "0.1.1"
|
||||
|
@ -2,10 +2,10 @@ import fs from "fs";
|
||||
import path from "path";
|
||||
import process from "process";
|
||||
|
||||
if (!process.env.CI) {
|
||||
console.log("Not running in CI, skipping. Please do not run this script manually!");
|
||||
process.exit(0);
|
||||
}
|
||||
// if (!process.env.CI) {
|
||||
// console.log("Not running in CI, skipping. Please do not run this script manually!");
|
||||
// process.exit(0);
|
||||
// }
|
||||
|
||||
const GITHUB_RUN_ID = process.env.GITHUB_RUN_ID;
|
||||
const GITHUB_RUN_ATTEMPT = process.env.GITHUB_RUN_ATTEMPT;
|
||||
|
Loading…
Reference in New Issue
Block a user