mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
Remove github actions
We are using woodpecker and I don't think we need the github actions anymore
This commit is contained in:
@@ -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/**/*
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user