Skip to content

chore: Bump lint-staged from 14.0.1 to 15.0.1 #461

chore: Bump lint-staged from 14.0.1 to 15.0.1

chore: Bump lint-staged from 14.0.1 to 15.0.1 #461

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '16' # keep in sync with .nvmrc
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Cache dependencies
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
- name: Run tests
run: npm test