fix: issue when response status was not propageted for http proxy han… #24
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 | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: typescript | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
- run: yarn install | |
- run: yarn test | |
- run: yarn test:coverage | |
# send test coverage | |
- run: bash <(curl -s https://codecov.io/bash) -f ./coverage/coverage.lcov | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: coverage | |
path: ./coverage/ | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: mochawesome-report | |
path: ./mochawesome-report/ |