Spaces:
Sleeping
Sleeping
Download .github/workflows/ci.yml from ccjulia/zero_friction: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/spaces/ccjulia/zero_friction/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/ccjulia/zero_friction/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/ccjulia/zero_friction/resolve/main/.github/workflows/ci.yml
530 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install frontend dependencies | |
| run: cd frontend && npm ci | |
| - name: Build | |
| run: cd frontend && npx ng build | |
| - name: Lint | |
| run: cd frontend && npx ng lint | |