aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJess <[email protected]>2022-01-28 05:27:41 -0500
committerGitHub <[email protected]>2022-01-28 11:27:41 +0100
commit9786fdd4317701a3aef1cd0c9a8cc2c4bf44c58b (patch)
treeb7080aa622a4a3863513ecf2175928cbfb3b2adb /.github
parentbba47418fe79b4023cb5e435bcbe2bd6e0ea4018 (diff)
downloadfaker-9786fdd4317701a3aef1cd0c9a8cc2c4bf44c58b.tar.xz
faker-9786fdd4317701a3aef1cd0c9a8cc2c4bf44c58b.zip
chore: adding cypress integration tests (#240)
Co-authored-by: Daniel Bannert <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2ae48dee..7d7f7eef 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,7 @@ on:
pull_request:
jobs:
- test:
+ unit-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -20,7 +20,7 @@ jobs:
node_version: 16
fail-fast: false
- name: 'Build & Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
+ name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -45,6 +45,24 @@ jobs:
- name: Test
run: pnpm run test
+ e2e-test:
+ runs-on: ubuntu-latest
+ name: 'E2E Doc Test: node-16, ubuntu-latest'
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v2
+ with:
+ version: 6
+
+ - name: Install deps
+ run: pnpm install
+
+ - name: Run E2E
+ run: pnpm run docs:build:ci
+
lint:
runs-on: ubuntu-latest
name: 'Lint: node-16, ubuntu-latest'