Skip to content

Commit

Permalink
Add e2e test with verdaccio.
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Mar 23, 2024
1 parent e97b0a2 commit 03b38d8
Show file tree
Hide file tree
Showing 4 changed files with 2,706 additions and 162 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ jobs:
- name: Build
run: npm run build

- name: Run tests
run: npm run test
- name: E2E Tests
run: npm run test:unit
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Unit Tests
run: npm run test:unit
if: (!(startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV))

- name: Run tests with coverage
run: npx c8 -- npm test
run: npx c8 -- npm test:unit
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Run Coveralls
Expand Down
Loading

0 comments on commit 03b38d8

Please sign in to comment.