Skip to content

Commit

Permalink
fix: Revert pipeline updates
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Feb 6, 2024
1 parent 31e9e9a commit 387fdce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/actions/setup-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ description: Setup node & package manager, checkout code
runs:
using: "composite"
steps:
- name: Enable corepack
shell: bash
run: corepack enable
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
pnpm lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"lint-staged": {
"**/*": [
"npx prettier --write --ignore-unknown",
"npx eslint --fix"
"pnpm prettier --write --ignore-unknown",
"pnpm eslint --fix"
]
},
"resolutions": {
Expand Down

0 comments on commit 387fdce

Please sign in to comment.