[Snyk] Upgrade @commander-js/extra-typings from 0.1.0 to 12.1.0 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Synchronize Dependencies with syncpack | |
on: | |
# Run whenever a pull request is updated | |
pull_request: | |
branches: | |
- trunk | |
paths: | |
- '**/package.json' | |
permissions: {} | |
jobs: | |
syncpack: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
name: syncpack | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- name: 'Setup node' | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | |
with: | |
node-version: 16 | |
- name: 'Install Syncpack' | |
run: npm install -g syncpack@^9.8.4 | |
- name: 'List Mismatches' | |
run: syncpack list-mismatches | |
- name: 'Explain Remedy' | |
if: failure() | |
run: | | |
echo "Dependency version mismatch detected. This can usually be fixed automatically by updating the pinned version in \`.syncpackrc\` and then running: \`pnpm sync-dependencies\`" | |
exit 1 |