Skip to content

Commit

Permalink
build: speed up contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 6, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 69f7e17 commit bdccdf9
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install
run: npm install --no-package-lock --ignore-scripts
- name: Contributors
run: npm run contributors
run: |
git config --global user.email ${{ secrets.GIT_EMAIL }}
git config --global user.name ${{ secrets.GIT_USERNAME }}
npm run contributors
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@
],
"scripts": {
"clean": "rm -rf node_modules",
"contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
"contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
"dev": "nodemon --exec \"npm start\" -e \"js\"",
"lint": "standard-markdown README.md && standard",
"postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",

0 comments on commit bdccdf9

Please sign in to comment.