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 be9616d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 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,24 @@ 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: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Configure NPM Token
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: npm install
- name: Run unit tests
run: npm run test:e2e:ci

0 comments on commit be9616d

Please sign in to comment.