Skip to content

Commit

Permalink
chore(ci): restore pre-commit; delete .husky before changesets job
Browse files Browse the repository at this point in the history
  • Loading branch information
cesconix committed Aug 6, 2024
1 parent 1059f37 commit 2adce22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
- name: Install
run: pnpm install --no-frozen-lockfile

- name: Creating .npmrc
- name: Creating .npmrc and Remove .husky
run: |
cat << EOF > "$HOME/.npmrc"
enable-pre-post-scripts=true
package-manager-strict=false
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
rm -rf .husky
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

pnpm biome
# pnpm test (not needed, github action will run it anyway)
pnpm test

0 comments on commit 2adce22

Please sign in to comment.