Skip to content

Commit

Permalink
fix: use npm-template-copy (#76)
Browse files Browse the repository at this point in the history
A little safer than a bare `npm install`
  • Loading branch information
wraithgar authored Mar 2, 2022
1 parent 425321e commit 9af2ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
git config --local user.email "ops+npm-cli@npmjs.com"
git config --local user.name "npm cli ops bot"
gh pr checkout ${{ github.event.pull_request.number }}
npm install
npm install --no-scripts
npm run template-copy
git add .
git commit -am "chore: postinstall for dependabot template-oss PR"
git push
3 changes: 2 additions & 1 deletion lib/content/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
git config --local user.email "ops+npm-cli@npmjs.com"
git config --local user.name "npm cli ops bot"
gh pr checkout ${{ github.event.pull_request.number }}
npm install
npm install --no-scripts
npm run template-copy
git add .
git commit -am "chore: postinstall for dependabot template-oss PR"
git push

0 comments on commit 9af2ad3

Please sign in to comment.