Skip to content

remove package-lock.json #5109

remove package-lock.json

remove package-lock.json #5109

Workflow file for this run

name: Lint
on: [push]
jobs:
run:
runs-on: macos-latest
steps:
- name: Cancel Workflow Action
uses: styfle/[email protected]
- uses: actions/checkout@v4
- 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: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.18'
- run: npm ci
- run: npm run lint