Skip to content

Bump axios from 0.24.0 to 1.6.0 #90

Bump axios from 0.24.0 to 1.6.0

Bump axios from 0.24.0 to 1.6.0 #90

Workflow file for this run

name: PR Build and Test
on:
pull_request
jobs:
test:
runs-on: ubuntu-latest
name: Node.JS ${{ matrix.node-version }} Axios ${{ matrix.axios-version }}
strategy:
matrix:
node-version:
- 12.x
- 14.x
- 16.x
axios-version:
- v0.20.0-0
- v0.21.1
- v0.21.4
- v0.22.0
- v0.23.0
- v0.24.0
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
yarn install
yarn add --dev axios@^${{ matrix.axios-version }}
- name: Test
env:
LAMBDA_REMOTE_DOCKER: true
run: yarn test
- name: Coverage
run: yarn coverage
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: .nyc_output/lcov.info
flag-name: run-${{ matrix.node }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true