From 72479a712d7ac4bb6af7d498a31477e1cfcde9bc Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Mon, 12 Feb 2024 13:21:43 +0530 Subject: [PATCH] feat(ci): fix broken CI --- .github/workflows/release.yml | 5 +++++ .github/workflows/test-actions.yml | 31 ------------------------------ 2 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/test-actions.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35a72a6..7dfe882 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,15 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 6.32.9 + - name: setup node uses: actions/setup-node@v4 with: node-version: 20 + cache: "pnpm" - name: install Rust stable uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml deleted file mode 100644 index 00e925f..0000000 --- a/.github/workflows/test-actions.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: "test-on-pr" -on: [pull_request] - -jobs: - test-tauri: - strategy: - fail-fast: false - matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] - - runs-on: ${{ matrix.platform }} - steps: - - uses: actions/checkout@v2 - - name: setup node - uses: actions/setup-node@v1 - with: - node-version: 16 - - name: install Rust stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - name: install webkit2gtk (ubuntu only) - if: matrix.platform == 'ubuntu-latest' - run: | - sudo apt-get update - sudo apt-get install -y webkit2gtk-4.0 - - name: install app dependencies and build it - run: yarn && yarn build - - uses: tauri-apps/tauri-action@v0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}