Skip to content

feat: add .redirect to RequestOptions and support in fetch engine #1963

feat: add .redirect to RequestOptions and support in fetch engine

feat: add .redirect to RequestOptions and support in fetch engine #1963

Workflow file for this run

name: build
on:
push:
branches: [master, v4, v4-rc]
pull_request:
branches: [master, v4, v4-rc]
jobs:
linters:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build tsconfig
run: yarn build:tsconfig
- name: Run tests
run: yarn test:linters
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build
- name: Run tests
run: yarn test:ci:jest
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
es5-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build --es ES5
- name: Run tests
run: yarn test:ci:jest
build-standalone:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build:standalone
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: lib
path: lib