Skip to content

Commit

Permalink
Merge pull request #40 from AhmedBaset/e2e
Browse files Browse the repository at this point in the history
misc: add e2e tests
  • Loading branch information
AhmedBaset authored Jun 19, 2024
2 parents 6fa1e46 + a5e4d08 commit b95f125
Show file tree
Hide file tree
Showing 9 changed files with 704 additions and 35 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Unit Tests
run: pnpm run test

Linting:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Building
run: pnpm run build

- name: Linting
run: pnpm run lint
26 changes: 0 additions & 26 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit b95f125

Please sign in to comment.