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 e575791
Show file tree
Hide file tree
Showing 4 changed files with 2,733 additions and 164 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -47,15 +47,19 @@ jobs:
- name: Build
run: npm run build

- name: Run tests
run: npm run test
- name: E2E Tests
run: npm run test:e2e
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
- name: Tests with coverage
run: npx c8 -- npm run test:unit
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV

- name: Run Coveralls
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
if: startsWith(matrix.os, 'ubuntu') && matrix.node == env.NODE_COV
with:
Expand Down

0 comments on commit e575791

Please sign in to comment.