Skip to content

[pre-commit.ci] pre-commit autoupdate #617

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #617

Workflow file for this run

name: check
on:
pull_request:
branches: ['*']
push:
branches: ['*']
jobs:
test-npm-deps: # Useful for testing version updates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
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: Install dependencies
run: npm install