Revert "Switch to package-lock.json"

This reverts commit 0163b7281a.
This commit is contained in:
Koen Kanters committed 2022-04-03 08:49:03 +02:00
1 parent 8fd8df75be
commit cabef43421
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ steps.nodeversion.outputs.version }}-${{ hashFiles('package-lock.json') }}
key: ${{ runner.os }}-${{ steps.nodeversion.outputs.version }}-${{ hashFiles('npm-shrinkwrap.json') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
+2 -2
View File
@@ -15,9 +15,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: rm -rf package-lock.json
- run: rm -rf npm-shrinkwrap.json
- run: npx npm-check-updates -u
- run: npm install
- run: npm install && npm shrinkwrap --dev
- uses: peter-evans/create-pull-request@v3
with:
commit-message: Update dependencies