diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c145837b..1b8208e2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' + + - name: Set up ubuntu + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get install -y libsecret-1-dev - name: Cache bigger downloads uses: actions/cache@v4 @@ -49,6 +54,12 @@ jobs: run: npm ci --prefer-offline --no-audit --progress=false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Fix ubuntu + if: matrix.os == 'ubuntu-latest' + run: | + sudo chown root node_modules/electron/dist/chrome-sandbox + sudo chmod 4755 node_modules/electron/dist/chrome-sandbox - name: Build run: npm run build diff --git a/main/wallet-backend.js b/main/wallet-backend.js index 80dac97d4..f4ae2be78 100644 --- a/main/wallet-backend.js +++ b/main/wallet-backend.js @@ -30,7 +30,7 @@ const { format } = require('node:util') const DISABLE_KEYTAR = process.env.DISABLE_KEYTAR === 'true' // eslint-disable-next-line max-len -const BERYX_TOKEN = 'eyJhbGciOiJFUzI1NiIsImtpZCI6ImtleS1iZXJ5eC0wMDEiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sImlzcyI6IlpvbmRheCIsImF1ZCI6WyJiZXJ5eCJdLCJleHAiOjE3MzQwODgzNTksImp0aSI6Ikp1bGlhbiBHcnViZXIsanVsaWFuQGp1bGlhbmdydWJlci5jb20ifQ.Fx-sg_JmYNy3g6pPk1ehpcUSdO1NSMCPRFgH0Gzvd3XPqOG1phAHIMHhN0fckBV2WundBO7YhBAUl-NaMrzGbA' +const BERYX_TOKEN = 'eyJhbGciOiJFUzI1NiIsImtpZCI6ImtleS1iZXJ5eC0wMDEiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6W10sImlzcyI6IlpvbmRheCIsImF1ZCI6WyJiZXJ5eCJdLCJleHAiOjE3Mzk1MjQ4MTQsImp0aSI6Ikp1bGlhbiBHcnViZXIsanVsaWFuQGp1bGlhbmdydWJlci5jb20ifQ.cgZJTmcri3yEf39MsC2HPqUjLsRRXxiZa5M-hN6xVjJTPv8PAWzKZC29sW9DEiaKWaDGFjimqcpdlYVjDjD36w' // eslint-disable-next-line @typescript-eslint/no-empty-function async function noop () {} diff --git a/package.json b/package.json index 6521bc4b6..43baedbab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint:fix": "eslint --fix . && prettier --write .", "test": "run-s build:* && run-s test:*", "test:backend": "mocha", - "test:e2e": "xvfb-maybe cross-env NODE_ENV=test playwright test 'test/e2e/.*.test.js'", + "test:e2e": "xvfb-maybe cross-env NODE_ENV=test DEBUG=pw:browser* playwright test 'test/e2e/.*.test.js'", "test:ui": "npm run vitest", "vitestpreview": "vite preview", "vitest": "vitest run",