Skip to content

feat: Allow http options to be passed into ParseClient #62

feat: Allow http options to be passed into ParseClient

feat: Allow http options to be passed into ParseClient #62

Workflow file for this run

---
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- "**"
env:
NODE_VERSION: 16.17.1
jobs:
check-lock-file-version:
name: NPM Lock File Version
timeout-minutes: 5
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Check NPM lock file version
uses: mansona/npm-lockfile-version@v1
with:
version: 2
build:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
matrix:
include:
- name: PHP 8.2
PHP_VERSION: 8.2
- name: PHP 8.1
PHP_VERSION: 8.1
fail-fast: false
name: Test ${{ matrix.name }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.PHP_VERSION }}
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE_VERSION }}-
- run: composer install
- run: npm ci
- run: npm start
- run: npm run lint
- run: npm run test-stream
- run: npm run test:coverage
- run: npm run document-check
- run: npm run document
env:
CI: true
- run: bash <(curl -s https://codecov.io/bash)