Skip to content

[Snyk] Upgrade focus-visible from 5.2.0 to 5.2.1 #792

[Snyk] Upgrade focus-visible from 5.2.0 to 5.2.1

[Snyk] Upgrade focus-visible from 5.2.0 to 5.2.1 #792

Workflow file for this run

name: ci
on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [15, 16]
steps:
- name: Checkout 🛎
uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup node env 📦
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Upgrade npm 🎉
run: npm install -g npm@latest
- name: Get npm cache directory 🏗
id: npm-cache
run: echo "::set-output name=dir::$(npm config get cache)"
- name: Restore cached node_modules 🤷‍♂️
uses: actions/[email protected]
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies 🚀
run: npm ci --prefer-offline --no-audit --no-optional
- name: Check for lint errors 👀
run: npm run lint