Skip to content

Commit

Permalink
chore: pin difflib to github tarball in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL committed Nov 5, 2024
1 parent 2c2913b commit 12e7cf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,6 @@ permissions:
checks: write

jobs:
fix-pnpm-lock:
# workaround for https://github.com/dependabot/dependabot-core/issues/7258
# until https://github.com/pnpm/pnpm/issues/6530 is fixed
if: github.triggering_actor == 'dependabot[bot]' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- run: |
rm pnpm-lock.yaml
pnpm i
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: fix pnpm install'
commit_user_name: dependabot[bot]
commit_user_email: 49699333+dependabot[bot]@users.noreply.github.com
commit_author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

vitest:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,10 @@
"packageManager": "[email protected]",
"engines": {
"node": ">=22"
},
"pnpm": {
"overrides": {
"difflib": "https://codeload.github.com/postlight/difflib.js/tar.gz/32e8e38c7fcd935241b9baab71bb432fd9b166ed"
}
}
}

0 comments on commit 12e7cf9

Please sign in to comment.