Skip to content

Bump axios from 0.27.2 to 1.6.0 (#17) #20

Bump axios from 0.27.2 to 1.6.0 (#17)

Bump axios from 0.27.2 to 1.6.0 (#17) #20

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version-file: .node-version
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Run linter validation
run: npm run build