chore: remove @mswjs/http-middleware dependency #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run build | |
run: npm run build | |
- name: Run typing tests | |
run: npm run test:type | |
- name: Run ESLint tests | |
run: npm run test:lint | |
- name: Run Playwright tests | |
run: npm run test:e2e | |
- name: Test report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Tests results | |
path: tests/test-results.xml | |
reporter: jest-junit |