Skip to content

Catch any errors when instantiating https.Agent (#24) #66

Catch any errors when instantiating https.Agent (#24)

Catch any errors when instantiating https.Agent (#24) #66

Workflow file for this run

name: Test and Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run unit-test
env:
BASE_URL: ${{ secrets.BASE_URL }}
API_USERNAME: ${{ secrets.API_USERNAME }}
API_PASSWORD: ${{ secrets.API_PASSWORD }}
API_ACCOUNT_NUMBER: ${{ secrets.API_ACCOUNT_NUMBER }}
- run: npm run build