Skip to content

Commit 0e49aca

Browse files
authored
Disable installing husky git hooks in CI (#372)
1 parent 9ba72fe commit 0e49aca

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/github-pages.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
jobs:
1616
build-and-deploy:
1717
runs-on: ubuntu-latest
18+
env:
19+
HUSKY: 0
1820
steps:
1921
- name: Checkout Repository
2022
uses: actions/checkout@v4
@@ -23,8 +25,14 @@ jobs:
2325
uses: actions/setup-node@v4
2426
with:
2527
node-version: '22.2.0'
26-
- run: npm ci
27-
- run: npm run build
28+
cache: 'npm'
29+
30+
- name: Install dependencies
31+
run: npm ci --prefer-offline --no-audit
32+
timeout-minutes: 10
33+
34+
- name: Build
35+
run: npm run build
2836

2937
- name: Check GitHub Pages status
3038
uses: crazy-max/ghaction-github-status@v3

0 commit comments

Comments
 (0)