Skip to content

Commit

Permalink
fix: download and cache git LFS
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin271 committed Jan 22, 2024
1 parent 76f6e25 commit 06d35e9
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/npm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,29 @@ concurrency:
cancel-in-progress: true

jobs:
build:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
run: npm ci
- name: Check & build
run: npm run build
- name: Check
run: npm run astro check

build:
runs-on: ubuntu-latest
steps:
# We use this action because github counts LFS bandwidth from CI.
# This action caches LFS downloads.
# See https://github.com/actions/checkout/issues/165
# If it ends up using too much bandwidth anyway, just delete this check.
- name: Checkout
uses: nschloe/action-cached-lfs-checkout@v1
- name: Install
run: npm ci
- name: Build
run: npm run astro build

format:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 06d35e9

Please sign in to comment.