Skip to content

Commit

Permalink
fix build & pause tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Jul 19, 2024
1 parent c743f85 commit 469aed3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
- name: Package application
run: pnpm run package

- name: Run tests
uses: coactions/setup-xvfb@v1
with:
run: pnpm test:e2e:raw
# - name: Run tests
# uses: coactions/setup-xvfb@v1
# with:
# run: pnpm test:e2e:raw

- name: Make distributable
if: success()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"cpy": "^11.0.1",
"d3-shape": "^3.2.0",
"dompurify": "^3.1.6",
"electron-squirrel-startup": "1.0.1",
"electron-updater": "^6.2.1",
"elkjs": "^0.9.3",
"esm": "^3.2.25",
Expand Down Expand Up @@ -111,7 +112,6 @@
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"electron": "31.2.1",
"electron-squirrel-startup": "1.0.1",
"electron-vite": "2.3.0",
"eslint": "^9.7.0",
"eslint-plugin-vue": "^9.27.0",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import * as Sentry from "@sentry/electron/main";
const isLinux = platform() === "linux";

console.log("app.isPackaged", app.isPackaged);
console.log("process.env.TEST", process.env.TEST);
console.log("isLinux", isLinux);

if (app.isPackaged) {
Sentry.init({
Expand Down

0 comments on commit 469aed3

Please sign in to comment.