Skip to content

Commit

Permalink
build: ignore npm scripts when installing dependencies in dependent a…
Browse files Browse the repository at this point in the history
…nalyzer workflow (#3013)

* build: ignore npm scripts when installing dependencies in dependent analyzer workflow

* chore: upgrade husky to v9
  • Loading branch information
viktorrusakov authored Feb 28, 2024
1 parent 7e4a81f commit 98e6313
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analyze-dependents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Analyze Dependents

on:
workflow_dispatch:
# schedule:
# - cron: "0 14 * * *" # daily at 10am EST (Github Actions works with UTC)
schedule:
- cron: "0 14 * * *" # daily at 10am EST (Github Actions works with UTC)

jobs:
# clones known dependent Git repositories from Open edX
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build-types": "tsc --emitDeclarationOnly",
"playroom:start": "npm run playroom:start --workspace=www",
"playroom:build": "npm run playroom:build --workspace=www",
"prepare": "husky install"
"prepare": "husky || true"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
Expand Down Expand Up @@ -123,7 +123,7 @@
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "^8.0.1",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-cli": "^28.1.2",
Expand Down

0 comments on commit 98e6313

Please sign in to comment.