Skip to content

fix: consistent proxy auth handling #250

fix: consistent proxy auth handling

fix: consistent proxy auth handling #250

Workflow file for this run

# 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