diff --git a/.github/workflows/check-e2e.yml b/.github/workflows/check-e2e.yml deleted file mode 100644 index f2f86b6df..000000000 --- a/.github/workflows/check-e2e.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: check-e2e -on: push - -jobs: - check-e2e: - strategy: - matrix: - browser: [webkit] - timeout-minutes: 30 - runs-on: macos-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - - name: Install dependencies - run: npm ci - - - name: Build test-http-api - run: npm run build:http - - - name: Cache Playwright browsers - uses: actions/cache@v4 - id: playwright-dep-cache - with: - path: ~/Library/Caches/ms-playwright - key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }} - - - name: Install Playwright browsers - if: steps.playwright-dep-cache.outputs.cache-hit != 'true' - run: npx playwright install webkit chromium - - - name: Install Radicle binaries - run: | - mkdir -p tests/artifacts; - ./scripts/install-binaries; - - - name: Run Playwright tests - run: npm run test:e2e -- --project ${{ matrix.browser }} - - - name: Upload artifacts - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-artifacts-${{ runner.os }} - retention-days: 30 - if-no-files-found: "ignore" - path: | - tests/artifacts/**/* diff --git a/.github/workflows/check-unit-test.yml b/.github/workflows/check-unit-test.yml deleted file mode 100644 index 1d7eebf56..000000000 --- a/.github/workflows/check-unit-test.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: check-unit-test -on: push - -jobs: - check-unit-test: - runs-on: ubuntu-latest - steps: - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "22.11.0" - - name: Checkout - uses: actions/checkout@v4 - - run: npm ci - - run: npm run test:unit diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml deleted file mode 100644 index 13a1bd2bd..000000000 --- a/.github/workflows/check.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: check -on: push - -jobs: - lint-ts: - name: lint typescript - runs-on: ubuntu-latest - steps: - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "22.11.0" - - uses: actions/checkout@v4 - - run: npm ci - - run: npm run check-js - lint-rust: - name: lint rust - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./crates/radicle-tauri - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libgtk-3-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev - version: 1.0 - - run: npm run check-rs