fix: process http over https proxy correctly #240
Workflow file for this run
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
# This workflow runs for every pull request to lint and test the proposed changes. | |
name: Check | |
on: | |
pull_request: | |
jobs: | |
build_and_test: | |
name: Build & Test | |
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
node-version: [18, 20] | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- | |
name: Install Dependencies | |
run: npm install | |
- | |
name: Run Tests | |
run: npm test | |
env: | |
APIFY_PROXY_PASSWORD: ${{ secrets.APIFY_TEST_USER_PROXY_PASSWORD }} | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- | |
run: npm install | |
- | |
run: npm run lint |