Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

fix(deps): update dependency axios to v1 [security] #1675

fix(deps): update dependency axios to v1 [security]

fix(deps): update dependency axios to v1 [security] #1675

Workflow file for this run

name: Test
env:
CI: "true"
on:
- pull_request
jobs:
test:
name: Node v${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node:
- 10
- 12
- 14
- 16
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm t
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
MWS_AUTH_TOKEN: ${{ secrets.MWS_AUTH_TOKEN }}
SECRET_KEY: ${{ secrets.SECRET }}
SELLER_ID: ${{ secrets.SELLER_ID }}
- name: Build
run: npm run build
- name: API Extractor
run: npm run api-extractor