diff --git a/.github/workflows/test-client.yml b/.github/workflows/test-client.yml new file mode 100644 index 000000000..09a864160 --- /dev/null +++ b/.github/workflows/test-client.yml @@ -0,0 +1,25 @@ +name: Client Tests + +on: + push: + branches: [ alpha, beta, rc, main ] + pull_request: + branches: [ alpha, beta, rc, main ] + +jobs: + test-client: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Run Client tests + run: npm run test:client diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml new file mode 100644 index 000000000..ce94ba28b --- /dev/null +++ b/.github/workflows/test-e2e.yml @@ -0,0 +1,25 @@ +name: e2e Tests + +on: + push: + branches: [ alpha, beta, rc, main ] + pull_request: + branches: [ alpha, beta, rc, main ] + +jobs: + test-e2e: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Run e2e tests + run: npm run test:e2e diff --git a/.github/workflows/test-electron.yml b/.github/workflows/test-electron.yml new file mode 100644 index 000000000..6d1f50bc6 --- /dev/null +++ b/.github/workflows/test-electron.yml @@ -0,0 +1,25 @@ +name: Electron Tests + +on: + push: + branches: [ alpha, beta, rc, main ] + pull_request: + branches: [ alpha, beta, rc, main ] + +jobs: + test-electron: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Run Electron tests + run: npm run test:electron