Skip to content

Commit

Permalink
add e2e tests to tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed May 3, 2024
1 parent aa71087 commit 797ca8f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Tests
on: [push]

jobs:
test:
unit-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -19,6 +19,20 @@ jobs:
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: npm install
- name: Run Tests
- name: Run unit tests
run: npm run test:ci
e2e-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Configure NPM Token
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: npm install
- name: Run e2e tests
run: npm run test:e2e

0 comments on commit 797ca8f

Please sign in to comment.