Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway authored Apr 21, 2024
1 parent 3b20963 commit 21fbd81
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
# fix git protocol https://github.com/orgs/community/discussions/26648#discussioncomment-3252721
- run: git config --global url."[email protected]:".insteadOf git://github.com/
- name: Install dependencies
run: npm ci --ignore-scripts
- run: npm run check-format
- run: npm run build
- name: Save build output
Expand Down

0 comments on commit 21fbd81

Please sign in to comment.