Files
webgpu-portfolio/.gitea/workflows/ci.yml
djoser 1633243be4
Some checks failed
CI / test-and-build (push) Successful in 20s
Build & Deploy / build (push) Successful in 16s
Build & Deploy / deploy (push) Failing after 40s
ci: fix npm steps to run in gpu-bg; setup-node cache-dependency-path
2026-08-21 03:09:03 +00:00

34 lines
645 B
YAML

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: gpu-bg/package-lock.json
- name: Install dependencies
run: cd gpu-bg && npm ci
- name: Type-check
run: cd gpu-bg && npm run typecheck
- name: Tests
run: cd gpu-bg && npm test
- name: Build
run: cd gpu-bg && npm run build