diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index ed3b9cc0..c5a2b813 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -9,32 +9,32 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-20.04, windows-latest] + platform: [ubuntu-22.04, windows-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 - - name: setup node - uses: actions/setup-node@v1 - with: - node-version: 14 - - name: install Rust stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf - - name: install app dependencies and build it - run: yarn --network-timeout 600000 && yarn tauri:build - - uses: tauri-apps/tauri-action@v0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version - releaseName: "Version __VERSION__" - releaseBody: "See the assets to download this version and install." - releaseDraft: true - prerelease: false + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 21 + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + + - name: install dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-22.04' + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: install app dependencies and build it + run: yarn --network-timeout 600000 && yarn tauri build + + - uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version + releaseName: "Version __VERSION__" + releaseBody: "See the assets to download this version and install." + releaseDraft: true + prerelease: false diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 1a32f18b..89411933 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -1,13 +1,13 @@ name: Run UI Build on: [push] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '14' - cache: 'yarn' - cache-dependency-path: yarn.lock - - run: yarn && yarn build + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "21" + cache: "yarn" + cache-dependency-path: yarn.lock + - run: yarn && yarn build diff --git a/.github/workflows/test-prs.yml b/.github/workflows/test-prs.yml index 7f9a3388..363c1f96 100644 --- a/.github/workflows/test-prs.yml +++ b/.github/workflows/test-prs.yml @@ -6,26 +6,46 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-20.04, windows-latest] + platform: [ubuntu-22.04, windows-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 - - name: setup node - uses: actions/setup-node@v1 - with: - node-version: 14 - - name: install Rust stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf - - name: install app dependencies and build it - run: yarn --network-timeout 600000 && yarn tauri:build - - uses: tauri-apps/tauri-action@v0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 21 + + - name: Install Rust stable + uses: dtolnay/rust-toolchain@stable + + - name: Install system dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-22.04' + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + + - name: Install JS dependencies + run: yarn install + + - name: Build Desktop app - Tauri Build + id: tauri_build + uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Linux build artifacts + uses: actions/upload-artifact@v4 + if: matrix.platform == 'ubuntu-22.04' + with: + path: | + ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.deb + ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.rpm + ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.AppImage + + - name: Upload Windows build artifacts + uses: actions/upload-artifact@v4 + if: matrix.platform == 'windows-latest' + with: + path: | + ${{ github.workspace }}\src-tauri\target\release\bundle\**\*.exe + ${{ github.workspace }}\src-tauri\target\release\bundle\**\*.nsis diff --git a/.gitignore b/.gitignore index d184e29f..f4f16f16 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,37 @@ node_modules/ *.njsproj *.sln *.sw? + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +*.tsbuildinfo + +test-results/ +playwright-report/ diff --git a/public/index.html b/index.html similarity index 59% rename from public/index.html rename to index.html index 2c49a1ac..01b9cb62 100644 --- a/public/index.html +++ b/index.html @@ -4,14 +4,11 @@ -