Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(build): install dependencies for contributors
  • Loading branch information
Kikobeats committed Dec 30, 2022
1 parent aa33f08 commit 7e0dd8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Contributors
run: |
git config --global user.email ${{ secrets.GIT_EMAIL }}
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -146,12 +146,11 @@
"clean": "pnpm --recursive --parallel exec -- rm -rf node_modules",
"contributors": "npm run contributors:add && npm run contributors:commit",
"contributors:add": "pnpm --recursive --parallel exec -- finepack --sort-ignore-object-at ava",
"contributors:commit": "(npx git-authors-cli && npx finepack --sort-ignore-object-at ava && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
"contributors:commit": "(git-authors-cli && finepack --sort-ignore-object-at ava && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
"coverage": "c8 report --reporter=text-lcov > coverage/lcov.info",
"dev": "concurrently \"gulp\" \"npm run dev:server\"",
"dev:server": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
"lint": "standard-markdown README.md && standard",
"prerelease": "npm run contributors",
"pretest": "npm run lint",
"release": "lerna publish --yes --sort --conventional-commits -m \"chore(release): %s\" --create-release github",
"test": "c8 lerna run test",
Expand Down

0 comments on commit 7e0dd8b

Please sign in to comment.