From ff1ef8c9d86a41636914c06ac08d0a993c97db29 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 19 May 2024 15:09:23 -0400 Subject: [PATCH] [skip ci] simplify upgrade command --- .github/workflows/update-deps.yml | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index 9b08fec5..adbc309d 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -24,9 +24,6 @@ jobs: - name: Update dependencies run: npm run update-deps - - name: Install dependencies - run: npm i - - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: diff --git a/package.json b/package.json index 4a57224d..c2e9921f 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "generate-sponsorblock-config": "node tools/generate-sponsorblock-config.js", "update-rale-component": "cd tools/RALE && rm TrackerTask.xml && curl -o TrackerTask.zip https://devtools.web.roku.com/roku-advanced-layout-editor/app/TrackerTask.zip && unzip TrackerTask.zip && rm TrackerTask.zip", "postinstall": "cd playlet-lib && npm install && cd ../playlet-app && npm install && cd ../playlet-web && npm install", - "update-deps": "npx npm-check-updates -u && cd playlet-app && npx npm-check-updates -u && cd ../playlet-lib && npx npm-check-updates -u && cd ../playlet-web && npx npm-check-updates -u", + "update-deps": "npx npm-check-updates --deep --upgrade --install always", "registry:write": "node tools/registry.js --input registry.json", "registry:read": "node tools/registry.js --output registry.json", "registry:clear": "node tools/registry.js --clear"