Skip to content

Commit

Permalink
chore: use omit to prune dev and peer (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Nov 8, 2023
1 parent ebe0f35 commit 9abe66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
name: Run NPM Test
- run: |
rm -rf package-lock.json
npm prune --production
# Remove dev and peer dependencies from node_modules
npm prune --omit=dev --omit=peer
rm -rf node_modules/appium
name: Remove dev dependencies and appium peer dependencies
- run: npm shrinkwrap
Expand Down

0 comments on commit 9abe66f

Please sign in to comment.